fix backup_controller when credentials to volume snapshot location show error.
Signed-off-by: yanggang <gang.yang@daocloud.io>pull/6653/head
parent
411bd54920
commit
46ef54e80a
|
@ -590,6 +590,10 @@ func (b *backupReconciler) validateAndGetSnapshotLocations(backup *velerov1api.B
|
|||
}
|
||||
}
|
||||
|
||||
if len(errors) > 0 {
|
||||
return nil, errors
|
||||
}
|
||||
|
||||
return providerLocations, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue