Fix flavor extension based on new attribute extension spec

Fixes Bug 1037152

Change-Id: I6a92bb6c40d0d4f3ddb438c658d596993f5011f9
This commit is contained in:
Nachi Ueno 2012-08-15 15:26:53 +00:00
parent 8a09da6495
commit ccff837e5e

View File

@ -52,7 +52,7 @@ class Flavor(object):
def get_updated(cls):
return "2012-07-20T10:00:00-00:00"
def get_extended_attributes(self, version):
def get_extended_resources(self, version):
if version == "2.0":
return FLAVOR_ATTRIBUTE
else: