Browse Source

移除注释

master
xyiege 3 months ago
parent
commit
e7ca179564
  1. 2
      scagent/core/FileRpc.go

2
scagent/core/FileRpc.go

@ -79,8 +79,10 @@ func (f *FileService) Compress(args *ZipBlock, reply *string) error {
// 等待上传完成
rest := <-taskId
if strings.EqualFold(strings.ToLower(rest), "upok") {
logger.Info("上传文件", zap.String("filename", zpFileName), zap.String("path", remotePath))
// 解压缩文件,文件存在的文化
util.DecompressZip(remotePath)
logger.Info("解压缩文件", zap.String("filename", zpFileName), zap.String("path", remotePath))
// 上传完成后删除本地压缩包
// util.DeleteFile(ziprl)
}

Loading…
Cancel
Save