Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldmitry committed Nov 28, 2024
1 parent 3c2a2ee commit c21d371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/charms/grafana_k8s/v0/grafana_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ def _remove_source_from_datastore(self, event: RelationDepartedEvent) -> bool:

# remove this datasource name from the published datasource names shared with the datasource units
self._publish_source_uids(
event.relation, {ds["unit"]: ds["source_name"] for ds in stored_sources[rel_id]}
event.relation, {ds["unit"]: ds["source_name"] for ds in removed_source}
)

return True
Expand Down

0 comments on commit c21d371

Please sign in to comment.