mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-19 22:44:21 +00:00
@@ -179,9 +179,9 @@ func checkRestorePhase(ctx context.Context, veleroCLI string, veleroNamespace st
|
||||
return err
|
||||
}
|
||||
if restore.Status.Phase != expectedPhase {
|
||||
fmt.Println(restore.Status.FailureReason)
|
||||
return errors.Errorf("Unexpected restore phase got %s, expecting %s", restore.Status.Phase, expectedPhase)
|
||||
}
|
||||
fmt.Println(restore.Status.FailureReason)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user