This is an automated email from the ASF dual-hosted git repository.

jonathanhurley pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new aac386e  [AMBARI-24817] Update incorrect instructions for updating 
alert groups with API (#1766)
aac386e is described below

commit aac386e6b42cd75b3d15ed42c47c5595d80916a4
Author: arjuntoor <[email protected]>
AuthorDate: Tue Oct 23 17:15:16 2018 +0100

    [AMBARI-24817] Update incorrect instructions for updating alert groups with 
API (#1766)
---
 ambari-server/docs/api/v1/alert-dispatching.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ambari-server/docs/api/v1/alert-dispatching.md 
b/ambari-server/docs/api/v1/alert-dispatching.md
index 18881cd..8326e5e 100644
--- a/ambari-server/docs/api/v1/alert-dispatching.md
+++ b/ambari-server/docs/api/v1/alert-dispatching.md
@@ -68,7 +68,7 @@ Or it can be created with all valid properties. In this 
example, a group is bein
 
 
 ##### Update Request
-    POST api/v1/clusters/<cluster>/alert_groups/<group-id>
+    PUT api/v1/clusters/<cluster>/alert_groups/<group-id>
 
     {
       "AlertGroup": {
@@ -323,4 +323,4 @@ Notices are read-only and are produced by Ambari in 
response to alerting events.
           }
         }
       ]
-    }
\ No newline at end of file
+    }

Reply via email to