mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 11:01:09 +00:00
Fix syncfiles compatibility with IPv6
This commit is contained in:
parent
989066920d
commit
57b6d8677b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user