From de1b6897c75253ff98a4036ef7dd4eb213161767 Mon Sep 17 00:00:00 2001 From: Sarat Date: Mon, 12 Oct 2020 21:30:18 -0700 Subject: [PATCH] Modifying RestAction for Execute API --- .../ad/transport/AnomalyResultAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/AnomalyResultAction.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/AnomalyResultAction.java index 8408c6cc..cca3a6b9 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/AnomalyResultAction.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/AnomalyResultAction.java @@ -19,7 +19,7 @@ public class AnomalyResultAction extends ActionType { public static final AnomalyResultAction INSTANCE = new AnomalyResultAction(); - public static final String NAME = "cluster:admin/ad/result"; + public static final String NAME = "cluster:admin/opendistro/ad/detector/run"; private AnomalyResultAction() { super(NAME, AnomalyResultResponse::new);