mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-20 15:04:17 +00:00
@@ -458,7 +458,7 @@ func TestProcessRestore(t *testing.T) {
|
||||
res.Status.Phase = api.RestorePhase(phase)
|
||||
|
||||
backupName, found, err := unstructured.NestedString(patchMap, "spec", "backupName")
|
||||
if err == nil && found {
|
||||
if found {
|
||||
res.Spec.BackupName = backupName
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user