From bef6f2161be12eeb3385aac113a738aecc85d807 Mon Sep 17 00:00:00 2001 From: Liam Young Date: Tue, 31 Mar 2020 12:11:37 +0000 Subject: [PATCH] Fix pause status bug --- ops_openstack.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ops_openstack.py b/ops_openstack.py index d16bba9..eac3ea2 100644 --- a/ops_openstack.py +++ b/ops_openstack.py @@ -81,6 +81,7 @@ class OSBaseCharm(CharmBase): if self.state.is_paused: self.unit.status = MaintenanceStatus( "Paused. Use 'resume' action to resume normal service.") + return missing_relations = [] for relation in self.REQUIRED_RELATIONS: if not self.model.get_relation(relation):