Skip to content

Commit 1e6fe4f

Browse files
committed
fix typo
1 parent 6337e53 commit 1e6fe4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ from master_replica_helper import get_master, get_replica
235235

236236

237237
async 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

251251
async 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)

0 commit comments

Comments
 (0)