Skip to content

Commit

Permalink
fix: Ensure all versions are up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
Gu1nness committed Oct 9, 2024
1 parent 007432d commit ddeb580
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/k8s_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ def _reconcile_upgrade(self, _, during_upgrade: bool = False) -> None:
if self.charm.unit.is_leader() and not self._upgrade.in_progress:
# Run before checking `self._upgrade.is_compatible` in case incompatible upgrade was
# forced & completed on all units.
self.charm.version_checker.set_version_across_all_relations()
self._upgrade.set_versions_in_app_databag()

if self._upgrade.unit_state is UnitState.RESTARTING: # Kubernetes only
Expand Down

0 comments on commit ddeb580

Please sign in to comment.