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