Commit 50bdf11a by Guba Sándor

operation: hotfix to properly set failed deploy operation status

parent 106f963d
......@@ -256,6 +256,9 @@ class DeployOperation(InstanceOperation):
self.instance.STATUS.PENDING,
self.instance.STATUS.ERROR)
def on_abort(self, activity, error):
activity.resultant_state = 'STOPPED'
def on_commit(self, activity):
activity.resultant_state = 'RUNNING'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment