Explorar o código

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.
Jason Tedor %!s(int64=7) %!d(string=hai) anos
pai
achega
3859d21661

+ 1 - 1
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

+ 1 - 1
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