Skip to content

Commit

Permalink
Fix log4j-spring-cloud-config-client
Browse files Browse the repository at this point in the history
  • Loading branch information
ppkarwasz committed Oct 2, 2024
1 parent 259e303 commit 878962e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,12 +366,12 @@ private void monitorSource(final Reconfigurable reconfigurable, final Configurat
@Override
public void start() {
// Preserve the prior behavior of initializing during start if not initialized.
if (getState().equals(State.INITIALIZING)) {
if (getState() == State.INITIALIZING) {
initialize();
}
LOGGER.info("Starting configuration {}...", this);
this.setStarting();
if (watchManager.getIntervalSeconds() > 0) {
if (watchManager.getIntervalSeconds() >= 0) {
LOGGER.info(
"Start watching for changes to {} every {} seconds",
getConfigurationSource(),
Expand Down

0 comments on commit 878962e

Please sign in to comment.