Skip to content

Commit 696235b

Browse files
committed
Address Niels' comments
1 parent 203aad0 commit 696235b

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

server/src/main/java/org/elasticsearch/reservedstate/service/FileSettingsService.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,6 @@ public Path watchedFile() {
115115
return watchedFile;
116116
}
117117

118-
public FileSettingsHealthTracker healthIndicatorService() {
119-
return healthIndicatorTracker;
120-
}
121-
122118
/**
123119
* Used by snapshot restore service {@link org.elasticsearch.snapshots.RestoreService} to prepare the reserved
124120
* state of the snapshot for the current cluster.

server/src/test/java/org/elasticsearch/health/node/HealthInfoTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected HealthInfo createTestInstance() {
3535
diskInfoByNode,
3636
randomBoolean() ? randomDslHealthInfo() : null,
3737
repositoriesInfoByNode,
38-
(randomFloat() < 0.1)
38+
randomBoolean()
3939
? FileSettingsHealthInfo.INDETERMINATE
4040
: mutateFileSettingsHealthInfo(FileSettingsHealthInfo.INDETERMINATE)
4141
);

0 commit comments

Comments
 (0)