Skip to content

Commit

Permalink
Update pgbouncer_provider.py
Browse files Browse the repository at this point in the history
  • Loading branch information
phvalguima authored Apr 17, 2024
1 parent 1743e52 commit 7f0e0ec
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/relations/pgbouncer_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,6 @@ def _on_relation_departed(self, event: RelationDepartedEvent) -> None:
if event.departing_unit == self.charm.unit:
self.charm.peers.unit_databag.update({self._depart_flag(event.relation): "true"})

# Check if we need to close the node port
self.charm.patch_port(self.external_connectivity(event))

def _on_relation_broken(self, event: RelationBrokenEvent) -> None:
"""Remove the user created for this relation, and revoke connection permissions."""
self.update_connection_info(event.relation)
Expand Down

0 comments on commit 7f0e0ec

Please sign in to comment.