Switch to integration rather that relation
In line with the name change in Juju 3, switch the status message to refer to intergration rather than relation. Change-Id: Ia2b9bc8bdb083d041bbaa23059eef7a38127e1b8
This commit is contained in:
parent
1517456e9a
commit
bb57142432
@ -80,13 +80,13 @@ class RelationHandler(ops.charm.Object):
|
||||
"""
|
||||
if not self.model.relations.get(self.relation_name):
|
||||
if self.mandatory:
|
||||
status.set(BlockedStatus("relation missing"))
|
||||
status.set(BlockedStatus("integration missing"))
|
||||
else:
|
||||
status.set(UnknownStatus())
|
||||
elif self.ready:
|
||||
status.set(ActiveStatus(""))
|
||||
else:
|
||||
status.set(WaitingStatus("relation incomplete"))
|
||||
status.set(WaitingStatus("integration incomplete"))
|
||||
|
||||
def setup_event_handler(self) -> ops.charm.Object:
|
||||
"""Configure event handlers for the relation.
|
||||
|
Loading…
x
Reference in New Issue
Block a user