diff --git a/karbor/api/schemas/plans.py b/karbor/api/schemas/plans.py index d8a0088b..65f685d2 100644 --- a/karbor/api/schemas/plans.py +++ b/karbor/api/schemas/plans.py @@ -49,6 +49,7 @@ update = { 'name': parameter_types.name, 'status': {'type': ['string', 'null']}, 'resources': parameter_types.resources, + 'description': parameter_types.description, }, 'required': [], 'additionalProperties': False, diff --git a/karbor/api/v1/plans.py b/karbor/api/v1/plans.py index 8f0d61c4..e6b5152a 100644 --- a/karbor/api/v1/plans.py +++ b/karbor/api/v1/plans.py @@ -303,6 +303,7 @@ class PlansController(wsgi.Controller): 'name', 'resources', 'status', + 'description', } for key in valid_update_keys.intersection(plan): update_dict[key] = plan[key]