Merge "Compute: update finish_revert_resize log to have some context"

This commit is contained in:
Jenkins 2015-11-18 11:10:07 +00:00 committed by Gerrit Code Review
commit a363e1c82e

View File

@ -3625,7 +3625,7 @@ class ComputeManager(manager.Manager):
# if the original vm state was STOPPED, set it back to STOPPED # if the original vm state was STOPPED, set it back to STOPPED
LOG.info(_LI("Updating instance to original state: '%s'"), LOG.info(_LI("Updating instance to original state: '%s'"),
old_vm_state) old_vm_state, instance=instance)
if power_on: if power_on:
instance.vm_state = vm_states.ACTIVE instance.vm_state = vm_states.ACTIVE
instance.task_state = None instance.task_state = None