diff --git a/src/charm.py b/src/charm.py index 1de68a2..517b182 100755 --- a/src/charm.py +++ b/src/charm.py @@ -96,7 +96,7 @@ def _on_slurmctld_available(self, event: SlurmctldAvailableEvent) -> None: if (jwt := event.jwt_rsa) is not None: self._slurmdbd_ops_manager.write_jwt_rsa(jwt) - + if (munge_key := event.munge_key) is not None: self._slurmdbd_ops_manager.stop_munge() self._slurmdbd_ops_manager.write_munge_key(munge_key)