fix: command output to string
This commit is contained in:
1 parent
bda7068b90
commit
bf2860dcce
2 files changed
+2
-2
No files matched your search
@@ -116,7 +116,7 @@ func (s *BarProcessor) Execute(data any) (any, error) {
|
||||
failureNEs = append(failureNEs, neInfo.NeType+"/"+neInfo.NeId)
|
||||
continue
|
||||
}
|
||||
log.Trace("command output:", out)
|
||||
log.Tracef("command output:%s", out)
|
||||
|
||||
md5Sum, err := global.GetFileMD5Sum(zipFilePath)
|
||||
if err != nil {
|
||||
|
||||
@@ -88,7 +88,7 @@ func (s *BarProcessor) Execute(data any) (any, error) {
|
||||
// 返回结果,用于记录执行结果
|
||||
return map[string]any{
|
||||
"message": "operation succeeded",
|
||||
"deleteFiles": out,
|
||||
"deleteFiles": string(out),
|
||||
"affected": affected,
|
||||
}, nil
|
||||
}
|
||||
Reference in new issue
Block a user