fix: delete expired backup files

This commit is contained in:
2023-10-28 16:25:56 +08:00
parent 6370076362
commit e907e3942c

View File

@@ -84,9 +84,11 @@ func (s *BarProcessor) Execute(data any) (any, error) {
return nil, err return nil, err
} }
log.Trace("command output:", out) log.Trace("command output:", out)
// 返回结果,用于记录执行结果 // 返回结果,用于记录执行结果
return map[string]any{ return map[string]any{
"msg": "sucess", "msg": "sucess",
"affected": affected, "deleteFiles": out,
"affected": affected,
}, nil }, nil
} }