Browse Source

Fix pause status bug

changes/13/749213/1
Liam Young 2 years ago
parent
commit
bef6f2161b
  1. 1
      ops_openstack.py

1
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):

Loading…
Cancel
Save