Skip to content

Commit c31ee32

Browse files
author
Peter Alfonsi
committed
Fixed IRC dimension names
Signed-off-by: Peter Alfonsi <petealft@amazon.com>
1 parent 7363dba commit c31ee32

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

server/src/main/java/org/opensearch/indices/IndicesRequestCache.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,9 @@ public final class IndicesRequestCache implements RemovalListener<ICacheKey<Indi
149149
// pkg-private for testing
150150
final IndicesRequestCacheCleanupManager cacheCleanupManager;
151151

152-
public static final String SHARD_ID_DIMENSION_NAME = "shardId";
153-
public static final String INDEX_DIMENSION_NAME = "index";
152+
// These values determine the valid names for levels in the cache stats API
153+
public static final String SHARD_ID_DIMENSION_NAME = "shards";
154+
public static final String INDEX_DIMENSION_NAME = "indices";
154155

155156
IndicesRequestCache(
156157
Settings settings,

0 commit comments

Comments
 (0)