diff --git a/pkg/controller/backup_controller.go b/pkg/controller/backup_controller.go index b0003f9a8d..44a1715fb5 100644 --- a/pkg/controller/backup_controller.go +++ b/pkg/controller/backup_controller.go @@ -590,6 +590,10 @@ func (b *backupReconciler) validateAndGetSnapshotLocations(backup *velerov1api.B } } + if len(errors) > 0 { + return nil, errors + } + return providerLocations, nil }