Skip to content

Commit

Permalink
chore: update status message
Browse files Browse the repository at this point in the history
  • Loading branch information
yanksyoon committed Jul 10, 2024
1 parent d82da87 commit 6cd517e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,9 @@ def _on_image_relation_changed(self, _: ops.RelationChangedEvent) -> None:
state = self._setup_state()

if state.instance_type != InstanceType.OPENSTACK:
self.unit.status = BlockedStatus("LXD mode enabled. Please remove image relation.")
self.unit.status = BlockedStatus(
"Openstack mode not enabled. Please remove the image integration."
)
return
if not self._get_set_image_ready_status():
return
Expand Down

0 comments on commit 6cd517e

Please sign in to comment.