Skip to content

Commit

Permalink
chore: note juju version on legacy workaround (#1355)
Browse files Browse the repository at this point in the history
So that it's easier to remove one day.
  • Loading branch information
dimaqq authored Sep 5, 2024
1 parent cdfd10f commit c40c25b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ops/_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def ensure_event_links(self, charm: 'ops.charm.CharmBase'):
# code is not triggered on config-changed.
#
# 'start' event is included as Juju does not fire the install event for
# K8s charms (see LP: #1854635).
# K8s charms https://bugs.launchpad.net/juju/+bug/1854635, fixed in juju 2.7.6 and 2.8
if self.event_name in ('install', 'start', 'upgrade_charm') or self.event_name.endswith(
'_storage_attached'
):
Expand Down

0 comments on commit c40c25b

Please sign in to comment.