From 9bf36ff717bdb1d217507e6a03244fc74471b3b5 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Sun, 11 Nov 2018 19:37:18 -0500 Subject: [PATCH] Fix the names of CCR stats endpoints in usage API 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 943f85010e2fb..2407344b04dce 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 RestCcrStatsAction(final Settings settings, final RestController controll @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 15b7329297644..8da8b66d8c206 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 RestFollowStatsAction(final Settings settings, final RestController contr @Override public String getName() { - return "ccr_stats"; + return "ccr_follower_stats"; } @Override