fix reboot_instance typo

Fixed bug #909745

Change-Id: I67fa47ae339f03290f21414e1eaae4c4e477424d
This commit is contained in:
lzyeval
2012-01-10 20:37:41 +08:00
parent fa43949c05
commit 26e646f16d
+1 -1
View File
@@ -206,7 +206,7 @@ class ComputeManager(manager.SchedulerDependentManager):
or FLAGS.start_guests_on_host_boot:
LOG.info(_('Rebooting instance %(inst_name)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: