Skip to content

Commit

Permalink
fmt + lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Oct 9, 2023
1 parent 61724e3 commit ec44042
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/charms/mongodb/v0/mongodb_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ def _on_relation_departed(self, event):
if event.departing_unit == self.charm.unit:
relation_departed = False

self.charm.app_peer_data[f"relation_{event.relation.id}_departed"] = json.dumps(relation_departed)
self.charm.app_peer_data[f"relation_{event.relation.id}_departed"] = json.dumps(
relation_departed
)

def _on_relation_event(self, event):
"""Handle relation joined events.
Expand Down

0 comments on commit ec44042

Please sign in to comment.