Skip to content

Commit

Permalink
exit while loop
Browse files Browse the repository at this point in the history
  • Loading branch information
cameroncaci committed Mar 20, 2024
1 parent 435f7bd commit 1e9293e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/milmove/trdmlambda/milmove/util/Trdm.java
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ public void UpdateTGETData(XMLGregorianCalendar ourLastUpdate, String trdmTable,
default:
throw new IllegalArgumentException("Data insertion for this table has not been configured");
}
// Exit the while loop
break;
} else if (oneWeekLater.equals(trdmLastUpdate)) {
// We have reached the trdm last update and data was not found
logger.info("reached TRDM last update date without finding any new data for {}", rdsTable);
Expand Down

0 comments on commit 1e9293e

Please sign in to comment.