diff --git a/confluent_server/confluent/selfservice.py b/confluent_server/confluent/selfservice.py index 425db4eb..0c3f08de 100644 --- a/confluent_server/confluent/selfservice.py +++ b/confluent_server/confluent/selfservice.py @@ -114,6 +114,7 @@ def handle_request(env, start_response): myip = myip.split(']', 1)[0] else: myip = myip.split(':', 1)[0] + myip = myip.replace('[', '').replace(']', '') ncfg = netutil.get_full_net_config(cfg, nodename, myip) start_response('200 OK', (('Content-Type', retype),)) yield dumper(ncfg)