Commit 0a32ce30 by Dudás Ádám

vm: set activity state on finising

parent bf52e663
...@@ -638,6 +638,7 @@ class InstanceActivity(TimeStampedModel): ...@@ -638,6 +638,7 @@ class InstanceActivity(TimeStampedModel):
if not self.finished: if not self.finished:
self.finished = timezone.now() self.finished = timezone.now()
self.result = result self.result = result
self.state = 'COMPLETED'
self.save() self.save()
......
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