Improve status message
This commit is contained in:
parent
3e0e41f403
commit
58c9f3093e
|
@ -103,7 +103,7 @@ class OSBaseCharm(CharmBase):
|
||||||
if self.state.is_started:
|
if self.state.is_started:
|
||||||
self.unit.status = ActiveStatus('Unit is ready')
|
self.unit.status = ActiveStatus('Unit is ready')
|
||||||
else:
|
else:
|
||||||
self.unit.status = WaitingStatus('Not ready for reasons')
|
self.unit.status = WaitingStatus('Charm configuration in progress')
|
||||||
logging.info("Status updated")
|
logging.info("Status updated")
|
||||||
|
|
||||||
def on_update_status(self, event):
|
def on_update_status(self, event):
|
||||||
|
|
Loading…
Reference in New Issue