From 4898df89ca4a311823f64df3a4434b08f60019b8 Mon Sep 17 00:00:00 2001 From: David TARDIVEL Date: Wed, 13 Jan 2016 01:48:36 +0100 Subject: [PATCH] Update API documentation for action plan Fix the Action Plan patch method docstring. Change-Id: I631ba0f0754c00f49212e416f259c9158bb37d89 Closes-Bug: #1532691 --- watcher/api/controllers/v1/action_plan.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/watcher/api/controllers/v1/action_plan.py b/watcher/api/controllers/v1/action_plan.py index 53f34c62e..996f05d3b 100644 --- a/watcher/api/controllers/v1/action_plan.py +++ b/watcher/api/controllers/v1/action_plan.py @@ -302,10 +302,10 @@ class ActionPlansController(rest.RestController): @wsme_pecan.wsexpose(ActionPlan, types.uuid, body=[ActionPlanPatchType]) def patch(self, action_plan_uuid, patch): - """Update an existing audit template. + """Update an existing action plan. - :param audit template_uuid: UUID of a audit template. - :param patch: a json PATCH document to apply to this audit template. + :param action_plan_uuid: UUID of a action plan. + :param patch: a json PATCH document to apply to this action plan. """ launch_action_plan = True if self.from_actionsPlans: