Skip to content

Commit

Permalink
refactor: moved enforceAlreadyRunningContainer method
Browse files Browse the repository at this point in the history
  • Loading branch information
sfiorani committed Mar 28, 2024
1 parent 90c7c50 commit ec5d9b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ public void updated(Map<String, Object> properties) {
if (currentConfig.isEnforcementEnabled()) {
try {
startEnforcementMonitor();
enforceAlreadyRunningContainer();
} catch (Exception ex) {
logger.error("Error starting enforcement monitor. Due to {}", ex.getMessage());
closeEnforcementMonitor();
logger.warn("Enforcement won't be active.");
}
enforceAlreadyRunningContainer();
}
}

Expand Down

0 comments on commit ec5d9b9

Please sign in to comment.