pkg/logging: Remove unneeded argument
This commit is contained in:
parent
d7847b5d69
commit
2493cbb078
15 changed files with 75 additions and 76 deletions
|
|
@ -64,7 +64,7 @@ func (exporter *Exporter) NewBackup(ctx context.Context, progress io.Writer, des
|
|||
backup.EndTime = time.Now().UTC()
|
||||
|
||||
return nil
|
||||
}, progress, ctx, "Writing backup files")
|
||||
}, progress, "Writing backup files")
|
||||
|
||||
return
|
||||
}
|
||||
|
|
@ -109,7 +109,7 @@ func (backup *Backup) run(ctx context.Context, progress io.Writer, exporter *Exp
|
|||
}
|
||||
|
||||
return nil
|
||||
}, progress, ctx, "Backing up core components")
|
||||
}, progress, "Backing up core components")
|
||||
|
||||
// backup instances
|
||||
logging.LogOperation(func() error {
|
||||
|
|
@ -164,6 +164,6 @@ func (backup *Backup) run(ctx context.Context, progress io.Writer, exporter *Exp
|
|||
})
|
||||
|
||||
return nil
|
||||
}, progress, ctx, "Creating instance snapshots")
|
||||
}, progress, "Creating instance snapshots")
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue