Commit 9f3d2282 by Bach Dániel

vm: Set DeployOperation.is_preferred == True for pending vms

parent 0b3c1d59
......@@ -173,6 +173,7 @@ class DeployOperation(InstanceOperation):
def is_preferred(self):
return self.instance.status in (self.instance.STATUS.STOPPED,
def on_commit(self, activity):
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