Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabello committed Jan 22, 2025
1 parent a405f8b commit 872526b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/grafana_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,13 @@ def __init__(self, *args):
charm_root = self.charm_dir.absolute()
self.loki_rules_paths = RulesMapping(
# TODO how to inject topology only for this charm's own rules?
# FIXED: this is already handled by re-using the *Rules classes
# FIXED: this is already handled by reusing the *Rules classes
src=charm_root.joinpath(*LOKI_RULES_SRC_PATH.split("/")),
dest=charm_root.joinpath(*LOKI_RULES_DEST_PATH.split("/")),
)
self.metrics_rules_paths = RulesMapping(
# TODO how to inject topology only for this charm's own rules?
# FIXED: this is already handled by re-using the *Rules classes
# FIXED: this is already handled by reusing the *Rules classes
src=charm_root.joinpath(*METRICS_RULES_SRC_PATH.split("/")),
dest=charm_root.joinpath(*METRICS_RULES_DEST_PATH.split("/")),
)
Expand Down

0 comments on commit 872526b

Please sign in to comment.