Skip to content

Commit

Permalink
Fix time comparison error
Browse files Browse the repository at this point in the history
  • Loading branch information
Bj0rnen committed Feb 10, 2015
1 parent 6198337 commit 90e4467
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ public void run() {
}
}

private void manageSchedule(RepairSchedule schedule) throws Exception {
if (schedule.getNextActivation().isAfterNow()) {
private void manageSchedule(RepairSchedule schedule) throws ReaperException {
if (schedule.getNextActivation().isBeforeNow()) {
LOG.info("repair unit '{}' should be repaired based on RepairSchedule with id '{}'",
schedule.getRepairUnitId(), schedule.getId());

Expand Down

0 comments on commit 90e4467

Please sign in to comment.