in zuul-status/zuul-status.js [84:111]
async reload() {
this._response = null;
this._startTime = new Date();
if (window.localStorage.getItem('disable_zuul_status')) {
this.set('zuulDisable', true);
} else {
this.set('zuulDisable', false);
}
const project = this.change.project;
const plugin = this.plugin.getPluginName();
const config = await this.getConfig(project, plugin);
if (config && config.zuul_url) {
this.zuulUrl = config.zuul_url;
if (config.zuul_tenant) {
this.zuulTenant = config.zuul_tenant;
console.info(`zuul-status: Zuul v3 at ${this.zuulUrl}, tenant ${this.zuulTenant}`);
} else {
console.info(`zuul-status: Zuul v2 at ${this.zuulUrl}`);
}
} else {
console.info("No config found for plugin zuul-status");
}
if (this.zuulUrl) {
await this._update();
}
}