Merge pull request #2 from kbujold/dc_orchestration_stop_on_failure

Distributed Cloud: Patch Orchestration Loop
This commit is contained in:
Dean Troyer 2018-08-27 09:33:50 -05:00 committed by GitHub
commit a4cebb85c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -435,6 +435,7 @@ class PatchOrchThread(threading.Thread):
elif sw_update_strategy.stop_on_failure:
# We have been told to stop on failures
stop_after_stage = strategy_step.stage
current_stage = strategy_step.stage
break
continue
# We have found the first step that isn't complete or failed.