2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-25 04:32:11 +00:00

Move the (insecure) output to where promised

This commit is contained in:
Jarrod Johnson 2018-01-23 10:36:25 -05:00
parent cd260a769e
commit eccc7803a9

View File

@ -76,9 +76,9 @@ def list_media(noderange, media):
printerror(res)
for node in res.get('databynode', []):
url = res['databynode'][node]['url']
if url and not res['databynode'][node].get('secure', False):
url += ' (insecure)'
name = res['databynode'][node]['name']
if url and not res['databynode'][node].get('secure', False):
name += ' (insecure)'
print('{0}: {1}'.format(node, url + '/' + name if url else name))