We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7815dc commit 024f263Copy full SHA for 024f263
src/charm.py
@@ -459,7 +459,7 @@ def _on_config_changed(self, event) -> None:
459
try:
460
self._validate_config_options()
461
# update config on every run
462
- if self.update_config():
+ if not self.update_config():
463
logger.debug("Defer on_config_changed: cannot update configuration")
464
event.defer()
465
return
0 commit comments