Skip to content

Commit

Permalink
Merge pull request #233 from HubSpot/startup_fix
Browse files Browse the repository at this point in the history
Always call applyCurrentConfigs in checkStateNodeVersion
  • Loading branch information
ssalinas committed Oct 3, 2017
2 parents c04b649 + 86acd5c commit 66eb7d9
Showing 1 changed file with 1 addition and 4 deletions.
Expand Up @@ -309,10 +309,7 @@ public void checkStateNodeVersion() {
throw new LockTimeoutException("Could not acquire lock to reapply configs", agentLock);
}
try {
if (bootstrapStateNodeVersion.get() < maybeStateVersion.get()) {
applyCurrentConfigs();
bootstrapStateNodeVersion.set(maybeStateVersion.get());
}
applyCurrentConfigs();
} catch (Exception e) {
abort("Could not ensure configs are up to date, aborting", e);
} finally {
Expand Down

0 comments on commit 66eb7d9

Please sign in to comment.