From 3859d2166194efa5f456ada2639a25188f57d53c Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Mon, 12 Nov 2018 10:27:12 -0500 Subject: [PATCH] Fix the names of CCR stats endpoints in usage API (#35438) This commit fixes the names of the CCR stats endpoints reported in the usage API. --- .../org/elasticsearch/xpack/ccr/rest/RestCcrStatsAction.java | 2 +- .../org/elasticsearch/xpack/ccr/rest/RestFollowStatsAction.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/rest/RestCcrStatsAction.java b/x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/rest/RestCcrStatsAction.java index 943f85010e2..2407344b04d 100644 --- a/x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/rest/RestCcrStatsAction.java +++ b/x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/rest/RestCcrStatsAction.java @@ -25,7 +25,7 @@ public class RestCcrStatsAction extends BaseRestHandler { @Override public String getName() { - return "ccr_auto_follow_stats"; + return "ccr_stats"; } @Override diff --git a/x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/rest/RestFollowStatsAction.java b/x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/rest/RestFollowStatsAction.java index 15b73292976..8da8b66d8c2 100644 --- a/x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/rest/RestFollowStatsAction.java +++ b/x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/rest/RestFollowStatsAction.java @@ -26,7 +26,7 @@ public class RestFollowStatsAction extends BaseRestHandler { @Override public String getName() { - return "ccr_stats"; + return "ccr_follower_stats"; } @Override