fix: command output to string
This commit is contained in:
@@ -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