diff --git a/src/relations/pgbouncer_provider.py b/src/relations/pgbouncer_provider.py index 4ab623a3e..f7f0f6575 100644 --- a/src/relations/pgbouncer_provider.py +++ b/src/relations/pgbouncer_provider.py @@ -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)