Skip to content

Commit

Permalink
Include instructions for how to unset
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelallan72 committed Oct 21, 2024
1 parent 67fde95 commit c23cbbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ def _on_collect_unit_status(self, event: ops.CollectStatusEvent) -> None:
if self.model.config["snap_channel"] != "latest/stable" and self.get_resource():
event.add_status(
BlockedStatus(
"Unset snap_channel option: it is unused when snap resource is provided."
"The snap_channel option is unused when snap resource is provided. "
f"Please unset it: juju config {self.app.name} --unset snap_channel"
)
)

Expand Down

0 comments on commit c23cbbd

Please sign in to comment.