From e772b289ee815e3eaf7c1746776bbed0b50a9270 Mon Sep 17 00:00:00 2001
From: licanwei
Date: Thu, 30 Aug 2018 15:44:13 +0800
Subject: [PATCH] Fix goal method in policy
Change-Id: I8f002900e898b945573c5a60b485ae3b98da639c
---
watcher/common/policies/goal.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/watcher/common/policies/goal.py b/watcher/common/policies/goal.py
index 6f422c945..511f8d773 100644
--- a/watcher/common/policies/goal.py
+++ b/watcher/common/policies/goal.py
@@ -24,7 +24,7 @@ rules = [
operations=[
{
'path': '/v1/goals/detail',
- 'method': 'DELETE'
+ 'method': 'GET'
}
]
),