This commit is contained in:
2023-10-28 16:43:07 +08:00
parent e907e3942c
commit 2a7d0fde76

View File

@@ -83,11 +83,11 @@ func (s *BarProcessor) Execute(data any) (any, error) {
log.Error("Faile to exec command:", err)
return nil, err
}
log.Trace("command output:", out)
log.Tracef("command output:%s", out)
// 返回结果,用于记录执行结果
return map[string]any{
"msg": "sucess",
"message": "operation succeeded",
"deleteFiles": out,
"affected": affected,
}, nil