diff --git a/maas-agent/src/charm.py b/maas-agent/src/charm.py index 75e5160..9f49da4 100755 --- a/maas-agent/src/charm.py +++ b/maas-agent/src/charm.py @@ -190,7 +190,6 @@ def _on_upgrade(self, _event: ops.UpgradeCharmEvent) -> None: def _on_collect_status(self, e: ops.CollectStatusEvent) -> None: if (current := MaasHelper.get_installed_channel()) and (current != MAAS_SNAP_CHANNEL): - if self._agents_updating_: e.add_status(ops.MaintenanceStatus("Awaiting unit refresh")) diff --git a/maas-region/src/charm.py b/maas-region/src/charm.py index fb95bec..a70bd18 100755 --- a/maas-region/src/charm.py +++ b/maas-region/src/charm.py @@ -17,8 +17,8 @@ from charms.data_platform_libs.v0 import data_interfaces as db from charms.grafana_agent.v0 import cos_agent from charms.maas_region.v0 import maas -from charms.operator_libs_linux.v2.snap import SnapError from charms.maas_site_manager_k8s.v0 import enrol +from charms.operator_libs_linux.v2.snap import SnapError from charms.tempo_coordinator_k8s.v0.charm_tracing import trace_charm from charms.tempo_coordinator_k8s.v0.tracing import TracingEndpointRequirer, charm_tracing_config from ops.model import SecretNotFoundError @@ -477,7 +477,6 @@ def _on_upgrade_charm(self, _event: ops.UpgradeCharmEvent) -> None: def _on_collect_status(self, e: ops.CollectStatusEvent) -> None: if (current := MaasHelper.get_installed_channel()) and (current != MAAS_SNAP_CHANNEL): - if self._agents_updating_: e.add_status(ops.MaintenanceStatus("Awaiting unit refresh"))