File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ from master_replica_helper import get_master, get_replica
235235
236236
237237async def renew_master_connect (connect : DBConnect) -> None :
238- """ Updates the connection with the master if the master has changed"""
238+ """ Updates the host if the master has changed"""
239239 master_host = await get_master()
240240 if master_host != connect.host:
241241 await connect.change_host(master_host)
@@ -249,7 +249,7 @@ master = DBConnect(
249249
250250
251251async def renew_replica_connect (connect : DBConnect) -> None :
252- """ Updates the connection with the replica if the master has changed"""
252+ """ Updates the host if the replica has changed"""
253253 replica_host = await get_replica()
254254 if replica_host != connect.host:
255255 await connect.change_host(replica_host)
You can’t perform that action at this time.
0 commit comments