Fixed is_vm_migrating
This commit is contained in:
parent
3e38aed35d
commit
8755db9e00
@ -573,7 +573,7 @@ def is_vm_migrating(nova, vm):
|
||||
:return: Whether the VM is migrating.
|
||||
:rtype: bool
|
||||
"""
|
||||
return nova.servers.get('vm').status == u'ACTIVE'
|
||||
return nova.servers.get('vm').status != u'ACTIVE'
|
||||
|
||||
|
||||
@contract
|
||||
|
Loading…
x
Reference in New Issue
Block a user