List deployed flavors
The list of flavors that are deployed actually lists flavors that are not deployed. Change-Id: I8bba731d4172a1738b6c1c94965f6b152b55cff9
This commit is contained in:
parent
9032be8a5a
commit
36f030793e
@ -113,5 +113,4 @@ class Flavor(object):
|
||||
[plan.parameter_value(role.flavor_parameter_name)
|
||||
for role in plan.role_list])
|
||||
return [flavor.id for flavor in cls.list(request)
|
||||
if flavor.id not in deployed_ids
|
||||
and flavor.name not in deployed_names]
|
||||
if flavor.id in deployed_ids or flavor.name in deployed_names]
|
||||
|
Loading…
x
Reference in New Issue
Block a user