Skip to content

Commit c8fb560

Browse files
committed
Register action name in constants
1 parent aa0c5b2 commit c8fb560

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

server/src/main/java/org/elasticsearch/action/search/load/ShardSearchLoadStatsAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class ShardSearchLoadStatsAction extends ActionType<ShardSearchLoadStatsR
2424
* Singleton instance of the action type.
2525
*/
2626
public static final ShardSearchLoadStatsAction INSTANCE = new ShardSearchLoadStatsAction();
27-
public static final String NAME = "internal:monitor/stats";
27+
public static final String NAME = "internal:search/stats";
2828
public static final RemoteClusterActionType<ShardSearchLoadStatsResponse> REMOTE_TYPE = new RemoteClusterActionType<>(
2929
NAME,
3030
ShardSearchLoadStatsResponse::new

x-pack/plugin/security/qa/operator-privileges-tests/src/javaRestTest/java/org/elasticsearch/xpack/security/operator/Constants.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,7 @@ public class Constants {
637637
"internal:gateway/local/started_shards",
638638
"internal:admin/indices/prevalidate_shard_path",
639639
"internal:index/metadata/migration_version/update",
640+
"internal:search/stats",
640641
"indices:admin/migration/reindex_status",
641642
"indices:admin/data_stream/index/reindex",
642643
"indices:admin/data_stream/reindex",

0 commit comments

Comments
 (0)