Skip to content

Commit

Permalink
Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sed-i committed Nov 12, 2024
1 parent 42fb794 commit f2bd780
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def _command(self) -> str:
return f"/bin/agent {self._cli_args()}"

def is_command_changed(self) -> bool:
"""Compare the current command we'd issue with the one in the pebble layer."""
return self._container.get_plan().services[self._name].command == self._command()

def _on_dashboards_changed(self, _event) -> None:
Expand Down

0 comments on commit f2bd780

Please sign in to comment.