Merge "Do not allow update flavor internal attributes"
This commit is contained in:
commit
262eea3278
@ -108,6 +108,13 @@ class FlavorPatchType(types.JsonPatchType):
|
||||
|
||||
_api_base = Flavor
|
||||
|
||||
@staticmethod
|
||||
def internal_attrs():
|
||||
defaults = types.JsonPatchType.internal_attrs()
|
||||
return defaults + ['/description', '/resources',
|
||||
'/resource_traits',
|
||||
'/resource_aggregates']
|
||||
|
||||
|
||||
class FlavorCollection(base.APIBase):
|
||||
"""API representation of a collection of flavor."""
|
||||
|
Loading…
Reference in New Issue
Block a user