Skip to content

Commit

Permalink
further clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya committed Jan 6, 2025
1 parent 90f1920 commit c803a3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/snapshot/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,8 @@ func upsertBackupStorageLocation(ctx context.Context, bsl *velerov1.BackupStorag
return nil, errors.Wrap(err, "failed to create velero client")
}

if err = veleroClient.Update(ctx, bsl); err == nil {
err = veleroClient.Update(ctx, bsl)
if err == nil {
return bsl, nil
}

Expand Down

0 comments on commit c803a3b

Please sign in to comment.