Use HTTPS when including Zuul status via hideci

Modern browsers are not happy to retrieve plaintext HTTP content
when running in the context of an HTTPS-served page. When including
Zuul's status JSON blob from the Gerrit WebUI via hideci.js, use
HTTPS.

Change-Id: Ibafe2b210ecdebea1781192beb0f4a14a23121eb
This commit is contained in:
Jeremy Stanley 2015-04-01 20:05:32 +00:00
parent 8037bf1129
commit 5be687279c

View File

@ -29,7 +29,7 @@ var pipelineNameRegex = /Build \w+ \((\w+) pipeline\)/;
// The url to full status information on running jobs
var zuulStatusURL = 'http://status.openstack.org/zuul';
// The json URL to check for running jobs
var zuulStatusJSON = 'http://zuul.openstack.org/status.json';
var zuulStatusJSON = 'https://zuul.openstack.org/status.json';
function format_time(ms, words) {
if (ms == null) {