Add highlight https urls to cluster info
Change-Id: I190a948b8780ea709516b51373f704c0c0a9fd2e
(cherry picked from commit fe26593a14
)
This commit is contained in:
parent
bf4d6768e6
commit
0e192e541d
1
AUTHORS
1
AUTHORS
|
@ -3,3 +3,4 @@ Dmitry Mescheryakov <dmescheryakov@mirantis.com>
|
|||
Nikita Konovalov <nkonovalov@mirantis.com>
|
||||
Nikolay Mahotkin <nmakhotkin@mirantis.com>
|
||||
Sergey Lukjanov <slukjanov@mirantis.com>
|
||||
Sergey Reshetnyak <sreshetniak@mirantis.com>
|
||||
|
|
|
@ -48,7 +48,7 @@ class GeneralTab(tabs.Tab):
|
|||
|
||||
for info_key, info_val in cluster.info.items():
|
||||
for key, val in info_val.items():
|
||||
if str(val).startswith("http://"):
|
||||
if str(val).startswith(('http://', 'https://')):
|
||||
cluster.info[info_key][key] = build_link(val)
|
||||
|
||||
base_image = glance.image_get(request,
|
||||
|
|
Loading…
Reference in New Issue