diff --git a/elasticsearch/x-pack/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestAckWatchAction.java b/elasticsearch/x-pack/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestAckWatchAction.java index 3ea0862a412..82d20a02f28 100644 --- a/elasticsearch/x-pack/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestAckWatchAction.java +++ b/elasticsearch/x-pack/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestAckWatchAction.java @@ -39,9 +39,9 @@ public class RestAckWatchAction extends WatcherRestHandler { controller.registerWithDeprecatedHandler(PUT, URI_BASE + "/watch/{id}/_ack", this, PUT, "/_watcher/watch/{id}/_ack", deprecationLogger); controller.registerWithDeprecatedHandler(POST, URI_BASE + "/watch/{id}/_ack/{actions}", this, - POST, "/_watcher/watch/{id}/{actions}/_ack", deprecationLogger); + POST, "/_watcher/watch/{id}/_ack/{actions}", deprecationLogger); controller.registerWithDeprecatedHandler(PUT, URI_BASE + "/watch/{id}/_ack/{actions}", this, - PUT, "/_watcher/watch/{id}/{actions}/_ack", deprecationLogger); + PUT, "/_watcher/watch/{id}/_ack/{actions}", deprecationLogger); // @deprecated The following can be totally dropped in 6.0 // Note: we deprecated "/{actions}/_ack" totally; so we don't replace it with a matching _xpack variant