Update logging behavior
This commit is contained in:
parent
3b78b06fff
commit
6f1ba24761
28 changed files with 176 additions and 137 deletions
|
|
@ -42,7 +42,7 @@ func (bk backup) Run(context wisski_distillery.Context) error {
|
|||
if !bk.NoPrune {
|
||||
defer logging.LogOperation(func() error {
|
||||
return dis.Exporter().PruneExports(context.Context, context.Stderr)
|
||||
}, context.Stderr, "Pruning old backups")
|
||||
}, context.Stderr, context.Context, "Pruning old backups")
|
||||
}
|
||||
|
||||
// do the handling
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue