Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
nsklikas committed Mar 28, 2023
1 parent c1f075c commit 9b38782
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 @@ -233,7 +233,7 @@ def _get_peer_data(self, key: str) -> Dict:
return json.loads(data) if data else {}

def _pop_peer_data(self, key: str) -> Dict:
"""Retrieve information from the peer data bucket."""
"""Retrieve and remove information from the peer data bucket."""
if not (peers := self._peers):
return {}
data = peers.data[self.app].pop(key, "")
Expand Down

0 comments on commit 9b38782

Please # to comment.