Skip to content

Commit

Permalink
remove confusing unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya committed Jan 6, 2025
1 parent 4021733 commit f5a52d4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/snapshot/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -799,9 +799,6 @@ func upsertBackupStorageLocation(ctx context.Context, bsl *velerov1.BackupStorag
}

if err := veleroClient.Update(ctx, bsl); err == nil {
if err != nil {
return nil, errors.Wrap(err, "failed to update backup storage location")
}
return bsl, nil
}

Expand Down

0 comments on commit f5a52d4

Please sign in to comment.