mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-25 12:41:39 +00:00
Fix netcfg self api call
This commit is contained in:
parent
6f967a3afa
commit
5b128238e7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user