mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Move the (insecure) output to where promised
This commit is contained in:
parent
cd260a769e
commit
eccc7803a9
@ -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))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user