Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 1521ae4

Browse files
author
Matthew Krajewski
committed
Added info log message when deleting a backup
1 parent 8347d27 commit 1521ae4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/backup/backup_manager.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ func (bm *BackupManager) EnsureMaxBackup(ctx context.Context, basePath string, m
9494
if i < maxCount {
9595
continue
9696
}
97+
logrus.Infof("deleting snapshot %s", snapshotPath)
9798
err := bm.bw.Delete(ctx, snapshotPath)
9899
if err != nil {
99100
return fmt.Errorf("failed to delete snapshot: %v", err)

0 commit comments

Comments
 (0)