Merge "fix reboot_instance typo"

This commit is contained in:
Jenkins
2012-01-11 20:41:05 +00:00
committed by Gerrit Code Review
+1 -1
View File
@@ -206,7 +206,7 @@ class ComputeManager(manager.SchedulerDependentManager):
or FLAGS.start_guests_on_host_boot:
LOG.info(_('Rebooting instance %(instance_uuid)s after '
'nova-compute restart.'), locals())
self.reboot_instance(context, instance['id'])
self.reboot_instance(context, instance['uuid'])
elif drv_state == power_state.RUNNING:
# Hyper-V and VMWareAPI drivers will raise an exception
try: