Skip to content

Commit

Permalink
remove unit_name
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldmitry committed Dec 12, 2024
1 parent 993d943 commit b751c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ def _update_datasource_exchange(self) -> None:
raw_datasources: List[DatasourceDict] = []

for grafana_uid, ds_uids in grafana_uids_to_units_to_uids.items():
for _unit_name, ds_uid in ds_uids.items():
for _, ds_uid in ds_uids.items():
raw_datasources.append(
{"type": "prometheus", "uid": ds_uid, "grafana_uid": grafana_uid}
)
Expand Down

0 comments on commit b751c90

Please sign in to comment.