From 57b6d8677bf98b35200d360d8aadc843fb7fb3af Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 6 Jan 2023 09:33:06 -0500 Subject: [PATCH] Fix syncfiles compatibility with IPv6 --- confluent_server/confluent/syncfiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/syncfiles.py b/confluent_server/confluent/syncfiles.py index b04f5273..b3c68ff3 100644 --- a/confluent_server/confluent/syncfiles.py +++ b/confluent_server/confluent/syncfiles.py @@ -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