flavor_ref -> flavor_id

Change-Id: I3578f906ddec69b062d18c9d37a8b764df067602
Closes-Bug: 1392573
This commit is contained in:
Shaunak Kashyap
2014-12-03 01:48:52 -08:00
parent f97cb3e8bb
commit b3bc5f6c32
32 changed files with 109 additions and 103 deletions

View File

@@ -71,7 +71,7 @@ class DefaultServicesController(base.ServicesController):
:raises LoookupError, ValueError
"""
try:
flavor = self.flavor_controller.get(service_obj.flavor_ref)
flavor = self.flavor_controller.get(service_obj.flavor_id)
# raise a lookup error if the flavor is not found
except LookupError as e:
raise e
@@ -128,7 +128,7 @@ class DefaultServicesController(base.ServicesController):
raise Exception(u'Currently this operation is not supported')
if service_updates.restrictions:
raise Exception(u'Currently this operation is not supported')
if service_updates.flavor_ref:
if service_updates.flavor_id:
raise Exception(u'Currently this operation is not supported')
# get provider details for this service