Skip to content

Commit

Permalink
Reword comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cbartz committed Apr 5, 2024
1 parent 3a62380 commit 17104e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,9 +540,9 @@ def _on_upgrade_charm(self, _event: UpgradeCharmEvent) -> None:
state.runner_config.virtual_machine_resources,
)

# Ensure an update of the systemd timer for reconciliation event is written to disk.
# upgrade_charm event is not followed by a config changed event (which updates the timer)
# so the timer would otherwise not be updated.
# Ensure that an update to the systemd timer for reconciliation event is written to disk.
# The upgrade_charm event is not necessarily followed by a config changed event
# (which updates the timer), so we need to explicitly update the timer here.
self._set_reconcile_timer()

@catch_charm_errors
Expand Down

0 comments on commit 17104e1

Please sign in to comment.