summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDan Prince <dan.prince@rackspace.com>2011-04-04 16:17:04 -0400
committerDan Prince <dan.prince@rackspace.com>2011-04-04 16:17:04 -0400
commit38b4cd9e68d7e1c262b08474b277573440ec3e87 (patch)
tree81cc6b3fc9d076267b134c20d96e8138fb6dc247 /bin
parentb09e6b7d7a6fb2966d6d215588ed45bd6003f345 (diff)
Refactor so that instances.instance_type is now instances.instance_type_id.
Update the Openstack API to return the correct flavor_id.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nova-manage2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nova-manage b/bin/nova-manage
index 6789efba8..b80a6e31d 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -878,7 +878,7 @@ class InstanceTypeCommands(object):
elif name == "--all":
inst_types = instance_types.get_all_types(True)
else:
- inst_types = instance_types.get_instance_type(name)
+ inst_types = instance_types.get_instance_type_by_name(name)
except exception.DBError, e:
_db_error(e)
if isinstance(inst_types.values()[0], dict):