Skip to content

Commit

Permalink
Fix spelling (#1470)
Browse files Browse the repository at this point in the history
Co-authored-by: Fredrik Hagfjäll <fredrik@hagfjall>
  • Loading branch information
Hagfjall and Fredrik Hagfjäll authored Feb 22, 2024
1 parent c290720 commit e760acc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private void registerConnectionsGauge() {
(Gauge<Integer>) HTTP_CONNECTIONS::size);
}
} catch (IllegalArgumentException e) {
LOG.warn("Cannot create openHttoManagementConnections metric gauge", e);
LOG.warn("Cannot create openHttpManagementConnections metric gauge", e);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public void resumeRunningRepairRuns() throws ReaperException {
Collection<RepairRun> pausedRepairRuns = repairRunDao.getRepairRunsWithState(RepairRun.RunState.PAUSED);
abortAllRunningSegmentsWithNoLeader(runningRepairRuns);
abortAllRunningSegmentsInKnownPausedRepairRuns(pausedRepairRuns);
resumeUnkownRunningRepairRuns(runningRepairRuns);
resumeUnknownRunningRepairRuns(runningRepairRuns);
resumeUnknownPausedRepairRuns(pausedRepairRuns);
} catch (RuntimeException e) {
throw new ReaperException(e);
Expand All @@ -199,7 +199,7 @@ private void abortAllRunningSegmentsWithNoLeader(Collection<RepairRun> runningRe
});
}

private void resumeUnkownRunningRepairRuns(Collection<RepairRun> runningRepairRuns) throws ReaperException {
private void resumeUnknownRunningRepairRuns(Collection<RepairRun> runningRepairRuns) throws ReaperException {
try {
repairRunnersLock.lock();
for (RepairRun repairRun : runningRepairRuns) {
Expand Down Expand Up @@ -247,7 +247,7 @@ private void resumeUnknownPausedRepairRuns(Collection<RepairRun> pausedRepairRun
pausedRepairRuns
.stream()
.filter((pausedRepairRun) -> (!repairRunners.containsKey(pausedRepairRun.getId())))
// add "paused" repair run to this reaper instance, so it can be visualised in UI
// add "paused" repair run to this reaper instance, so it can be visualized in UI
.forEachOrdered((pausedRepairRun) -> startRunner(pausedRepairRun));
} finally {
repairRunnersLock.unlock();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ public void testGetTokenToEndpointMap() throws Exception {
}

@Test
public void testgetEndpointToHostId() throws Exception {
public void testGetEndpointToHostId() throws Exception {
DefaultApi mockClient = Mockito.mock(DefaultApi.class);
EndpointStates states = new EndpointStates();
states.addEntityItem(ImmutableMap.of(
Expand Down

0 comments on commit e760acc

Please sign in to comment.