From 5f93e96b7aed9687392716b1b46340c970230fd9 Mon Sep 17 00:00:00 2001 From: rajat29 Date: Thu, 7 Jun 2018 17:51:35 +0530 Subject: [PATCH] Correcting url in action_plan policy url in action_plan policy file is: 'path': '/v1/action_plans/{action_plan_uuid}/action' whereas it shouls be : 'path': '/v1/action_plans/{action_plan_uuid}/start' Related-Bug: #1756274 Change-Id: Ic15fed9af739b59efb2777b70514697747b2af7f --- watcher/common/policies/action_plan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watcher/common/policies/action_plan.py b/watcher/common/policies/action_plan.py index bc1103ffe..4dbf41525 100644 --- a/watcher/common/policies/action_plan.py +++ b/watcher/common/policies/action_plan.py @@ -78,7 +78,7 @@ rules = [ description='Start an action plans.', operations=[ { - 'path': '/v1/action_plans/{action_plan_uuid}/action', + 'path': '/v1/action_plans/{action_plan_uuid}/start', 'method': 'POST' } ]