Skip to content

Commit

Permalink
Added info log message when deleting a backup
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Krajewski committed Aug 28, 2019
1 parent 8347d27 commit 1521ae4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/backup/backup_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ func (bm *BackupManager) EnsureMaxBackup(ctx context.Context, basePath string, m
if i < maxCount {
continue
}
logrus.Infof("deleting snapshot %s", snapshotPath)
err := bm.bw.Delete(ctx, snapshotPath)
if err != nil {
return fmt.Errorf("failed to delete snapshot: %v", err)
Expand Down

0 comments on commit 1521ae4

Please sign in to comment.