Skip to content

Commit f2b8713

Browse files
committed
PBM-1649 Don't require storage sync when cleaning up backups in profile
1 parent f8454a8 commit f2b8713

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cmd/pbm-agent/delete.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,6 @@ func (a *Agent) Cleanup(ctx context.Context, d *ctrl.CleanupCmd, opid ctrl.OPID,
299299

300300
if d.Profile == "" {
301301
err = resync.Resync(ctx, a.leadConn, &cfg.Storage, a.brief.Me, false)
302-
} else {
303-
err = resync.SyncBackupList(ctx, a.leadConn, &cfg.Storage, d.Profile, a.brief.Me)
304302
}
305303

306304
if err != nil {

0 commit comments

Comments
 (0)