Merge pull request #6653 from yanggangtony/fix-backup-controller-err-check

fix backup_controller when credentials to volume snapshot location sh…
This commit is contained in:
Xun Jiang/Bruce Jiang
2023-08-21 17:12:17 +08:00
committed by GitHub
+4
View File
@@ -590,6 +590,10 @@ func (b *backupReconciler) validateAndGetSnapshotLocations(backup *velerov1api.B
}
}
if len(errors) > 0 {
return nil, errors
}
return providerLocations, nil
}