From bb571424322b1539d04c76e503c4098529b841c6 Mon Sep 17 00:00:00 2001 From: Liam Young Date: Fri, 28 Oct 2022 08:10:48 +0000 Subject: [PATCH] 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 --- ops-sunbeam/ops_sunbeam/relation_handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ops-sunbeam/ops_sunbeam/relation_handlers.py b/ops-sunbeam/ops_sunbeam/relation_handlers.py index 32148d1c..5da86119 100644 --- a/ops-sunbeam/ops_sunbeam/relation_handlers.py +++ b/ops-sunbeam/ops_sunbeam/relation_handlers.py @@ -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.