Skip to content

Commit b4c926f

Browse files
committed
Fix naming
1 parent 5a33bb6 commit b4c926f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/repositories/RepositoriesService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public RepositoriesService(
156156
threadPool.relativeTimeInMillisSupplier()
157157
);
158158
this.preRestoreChecks = preRestoreChecks;
159-
this.snapshotMetrics = new SnapshotMetrics(meterRegistry, this::getSnapshotsInProgress);
159+
this.snapshotMetrics = new SnapshotMetrics(meterRegistry, this::getShardSnapshotsInProgress);
160160
}
161161

162162
/**
@@ -1091,7 +1091,7 @@ public Repository createNonProjectRepository(RepositoryMetadata repositoryMetada
10911091
);
10921092
}
10931093

1094-
private Collection<LongWithAttributes> getSnapshotsInProgress() {
1094+
private Collection<LongWithAttributes> getShardSnapshotsInProgress() {
10951095
return repositories.values()
10961096
.stream()
10971097
.flatMap(repositories -> repositories.values().stream())

0 commit comments

Comments
 (0)