File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
server/src/main/java/org/opensearch/monitor/fs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public class FsHealthService extends AbstractLifecycleComponent implements NodeH
87
87
private volatile TimeValue healthyTimeoutThreshold ;
88
88
private final AtomicLong lastRunStartTimeMillis = new AtomicLong (Long .MIN_VALUE );
89
89
private final AtomicBoolean checkInProgress = new AtomicBoolean ();
90
- public Counter fsHealthFailCounter ;
90
+ private final Counter fsHealthFailCounter ;
91
91
private static final String COUNTER_METRICS_UNIT = "1" ;
92
92
93
93
@ Nullable
@@ -230,7 +230,7 @@ private void emitMetric() {
230
230
}
231
231
}
232
232
233
- public void incrementCounter (Counter counter , Double value ) {
233
+ private void incrementCounter (Counter counter , Double value ) {
234
234
counter .add (value );
235
235
}
236
236
You can’t perform that action at this time.
0 commit comments