Skip to content

Commit 3bc52cd

Browse files
Update endpoint addresses in MySQL provider (#655)
1 parent cb6707b commit 3bc52cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/relations/mysql_provider.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ def _update_endpoints(self, relation_id: int, remote_app: str) -> None:
157157
relation_id (int): The id of the relation
158158
remote_app (str): The name of the remote application
159159
"""
160+
self.charm.update_endpoint_addresses()
161+
160162
try:
161163
rw_endpoints, ro_endpoints, _ = self.charm.get_cluster_endpoints(DB_RELATION_NAME)
162164

0 commit comments

Comments
 (0)