fix backup_controller when credentials to volume snapshot location show error.

Signed-off-by: yanggang <gang.yang@daocloud.io>
This commit is contained in:
yanggang
2023-08-15 19:36:07 +08:00
parent 411bd54920
commit 46ef54e80a
+4
View File
@@ -590,6 +590,10 @@ func (b *backupReconciler) validateAndGetSnapshotLocations(backup *velerov1api.B
}
}
if len(errors) > 0 {
return nil, errors
}
return providerLocations, nil
}