File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
server/src/main/java/org/elasticsearch/repositories Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ())
You can’t perform that action at this time.
0 commit comments