Skip to content

Commit

Permalink
Merge pull request #6653 from yanggangtony/fix-backup-controller-err-…
Browse files Browse the repository at this point in the history
…check

fix backup_controller when credentials to volume snapshot location sh…
  • Loading branch information
blackpiglet authored Aug 21, 2023
2 parents 7d23ad9 + 46ef54e commit a62f2fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/controller/backup_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,10 @@ func (b *backupReconciler) validateAndGetSnapshotLocations(backup *velerov1api.B
}
}

if len(errors) > 0 {
return nil, errors
}

return providerLocations, nil
}

Expand Down

0 comments on commit a62f2fa

Please sign in to comment.