1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

MASTER_PORT variable for CHANGE MASTER TO command can only accept integer value

This commit is contained in:
amree 2014-03-06 12:19:54 +08:00
parent 25cf215f54
commit 1d731e5c30

View file

@ -325,7 +325,7 @@ def main():
if master_password: if master_password:
chm.append("MASTER_PASSWORD='" + master_password + "'") chm.append("MASTER_PASSWORD='" + master_password + "'")
if master_port: if master_port:
chm.append("MASTER_PORT='" + master_port + "'") chm.append("MASTER_PORT=" + master_port)
if master_connect_retry: if master_connect_retry:
chm.append("MASTER_CONNECT_RETRY='" + master_connect_retry + "'") chm.append("MASTER_CONNECT_RETRY='" + master_connect_retry + "'")
if master_log_file: if master_log_file: