debug e2e 2

Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com>
This commit is contained in:
Anshul Ahuja
2023-07-06 15:09:26 +05:30
parent a1ec3b553c
commit d89a8e0bdd
+1 -1
View File
@@ -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
}