Skip to content

Commit e589db4

Browse files
committed
Naming
1 parent 0ebd75d commit e589db4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/cluster/routing/WriteLoadPerShardSimulator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private static Set<String> getWriteIndexNames(RoutingAllocation allocation) {
128128
.values()
129129
.stream()
130130
.map(ProjectMetadata::getIndicesLookup)
131-
.flatMap(il -> il.values().stream())
131+
.flatMap(indicesLookup -> indicesLookup.values().stream())
132132
.map(IndexAbstraction::getWriteIndex)
133133
.filter(Objects::nonNull)
134134
.map(Index::getName)

0 commit comments

Comments
 (0)