[Trivialfix]Fix typos in watcher
Fix the typos in watcher. Change-Id: I3ab77e2a1f862d3790065de4a6ff6c3ef42f226d
This commit is contained in:
@@ -528,10 +528,10 @@ class NovaHelper(object):
|
||||
instance_host = getattr(instance, 'OS-EXT-SRV-ATTR:host')
|
||||
instance_status = getattr(instance, 'status')
|
||||
|
||||
# Abort live migration successfull, action is cancelled
|
||||
# Abort live migration successful, action is cancelled
|
||||
if instance_host == source and instance_status == 'ACTIVE':
|
||||
return True
|
||||
# Nova Unable to abort live migration, action is succeded
|
||||
# Nova Unable to abort live migration, action is succeeded
|
||||
elif instance_host == destination and instance_status == 'ACTIVE':
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user