Skip to content
Snippets Groups Projects
Verified Commit f7a3f382 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Skip pp interaction if needed, when deprovisioning

parent 4c83f3b5
Branches
Tags 0.16
No related merge requests found
This commit is part of merge request !50. Comments created here will be created in the context of that merge request.
......@@ -203,6 +203,10 @@ def _confirm_pp_results(state: State) -> FormGenerator:
:return: Confirmation from the user, when presented with the run results.
:rtype: {class}`orchestrator.types.FormGenerator`
"""
if "pp_run_results" not in state:
# FIXME: very dirty hack that makes the skipping """work"""
return {"pp_did_succeed": True}
successful_run = state["pp_run_results"]["return_code"] == 0
class ConfirmRunPage(FormPage):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment