2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 19:40:12 +00:00

Fix mistake in selfservice api

This commit is contained in:
Jarrod Johnson 2020-05-19 16:49:07 -04:00
parent 5540896ab1
commit 442902ecd8

View File

@ -117,7 +117,7 @@ def handle_request(env, start_response):
for dns in deployinfo.get(
'dns.servers', {}).get('value', '').split(','):
ncfg['nameservers'].append(dns)
dnsdomain = dedployinfo.get('dns.domain', {}).get('value', None)
dnsdomain = deployinfo.get('dns.domain', {}).get('value', None)
ncfg['dnsdomain'] = dnsdomain
start_response('200 OK', (('Content-Type', retype),))
yield dumper(ncfg)