fix: delete expired backup files
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user