Fix a typo in the driver.py file

there is a spelling error,"instace" should be "instance"

Change-Id: I2e7af7b1404e465f86ca3d963d3402640d888494
This commit is contained in:
gengchc2 2016-08-29 14:26:52 +08:00
parent a5cc0be5c6
commit fd58a6a0f8

View File

@ -6820,7 +6820,7 @@ class LibvirtDriver(driver.ComputeDriver):
# on instance utilization.
local_instance_list = objects.InstanceList.get_by_filters(
ctx, filters, use_slave=True)
# Convert instance list to dictionary with instace uuid as key.
# Convert instance list to dictionary with instance uuid as key.
local_instances = {inst.uuid: inst for inst in local_instance_list}
# Get bdms by instance uuids