Add highlight https urls to cluster info

Change-Id: I190a948b8780ea709516b51373f704c0c0a9fd2e
(cherry picked from commit fe26593a14)
This commit is contained in:
Sergey Reshetnyak 2013-08-30 19:23:39 +04:00
parent bf4d6768e6
commit 0e192e541d
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -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,