mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-25 04:30:29 +00:00
Fix syncfiles compatibility with IPv6
This commit is contained in:
@@ -191,7 +191,7 @@ def sync_list_to_node(sl, node, suffixes, peerip=None):
|
||||
if peerip:
|
||||
targip = peerip
|
||||
output = util.run(
|
||||
['rsync', '-rvLD', targdir + '/', 'root@{}:/'.format(targip)])[0]
|
||||
['rsync', '-rvLD', targdir + '/', 'root@[{}]:/'.format(targip)])[0]
|
||||
except Exception as e:
|
||||
if 'CalledProcessError' not in repr(e):
|
||||
# https://github.com/eventlet/eventlet/issues/413
|
||||
|
Reference in New Issue
Block a user