fix: delete expired backup files
This commit is contained in:
1 parent
6370076362
commit
e907e3942c
1 file changed
+2
@@ -84,9 +84,11 @@ func (s *BarProcessor) Execute(data any) (any, error) {
|
||||
return nil, err
|
||||
}
|
||||
log.Trace("command output:", out)
|
||||
|
||||
// 返回结果,用于记录执行结果
|
||||
return map[string]any{
|
||||
"msg": "sucess",
|
||||
"deleteFiles": out,
|
||||
"affected": affected,
|
||||
}, nil
|
||||
}
|
||||
Reference in new issue
Block a user