Commit 2f54d6b6 by Őry Máté

vm: fix copypasted WakeUpOperation.is_preferred

parent eea981fb
......@@ -662,8 +662,7 @@ class WakeUpOperation(InstanceOperation):
required_perms = ()
def is_preferred(self):
return (self.instance.is_base and
self.instance.status == self.instance.STATUS.SUSPENDED)
return self.instance.status == self.instance.STATUS.SUSPENDED
def check_precond(self):
super(WakeUpOperation, self).check_precond()
......
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