fixes nova-manage instance_type compatibility with postgres db

This commit is contained in:
Ken Pepple
2011-03-21 05:46:27 +00:00
committed by Tarmac

View File

@@ -874,7 +874,7 @@ class InstanceTypeCommands(object):
if name == None:
inst_types = instance_types.get_all_types()
elif name == "--all":
inst_types = instance_types.get_all_types(1)
inst_types = instance_types.get_all_types(True)
else:
inst_types = instance_types.get_instance_type(name)
except exception.DBError, e: