Rename functions in nova.compute.flavors from instance_type
Second step in removing references to instance_types. Remove all references to instance_type in nova.compute.flavors. Also update compute devref to reflect changed name. Partially implements bp flavor-instance-type-dedup renamed: nova/tests/test_instance_types.py -> test_flavors.py Change-Id: I7413bf832c61d04ab90ec8b1370d3f01372c4172
This commit is contained in:
@@ -284,7 +284,7 @@ def info_from_instance(context, instance_ref, network_info,
|
||||
|
||||
image_ref_url = glance.generate_image_url(instance_ref['image_ref'])
|
||||
|
||||
instance_type = flavors.extract_instance_type(instance_ref)
|
||||
instance_type = flavors.extract_flavor(instance_ref)
|
||||
instance_type_name = instance_type.get('name', '')
|
||||
|
||||
if system_metadata is None:
|
||||
|
||||
Reference in New Issue
Block a user