Display last reconfigured time from zuul/status
* it could be useful to determine when zuul conf reloaded * it requires I03c5a5734f2127ef40be9ec512c983b136508be7 to display time Change-Id: I29709b9ee91d0096a3263e1ffbc8efd4374f2453
This commit is contained in:
parent
c2a0baa10a
commit
dad5dfcaa1
@ -345,6 +345,10 @@ $("#graph-container").append($(new Image()).addClass('graph').graphite({
|
|||||||
Zuul version:
|
Zuul version:
|
||||||
<span id="zuul-version"></span>
|
<span id="zuul-version"></span>
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
Last reconfigured:
|
||||||
|
<span id="last-reconfigured-span"></span>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">footer();</script>
|
<script type="text/javascript">footer();</script>
|
||||||
|
@ -386,6 +386,10 @@ function update_zuul_info(data) {
|
|||||||
if ('zuul_version' in data) {
|
if ('zuul_version' in data) {
|
||||||
$('#zuul-version').text(data['zuul_version']);
|
$('#zuul-version').text(data['zuul_version']);
|
||||||
}
|
}
|
||||||
|
if ('last_reconfigured' in data) {
|
||||||
|
var last_reconfigured = new Date(data['last_reconfigured']);
|
||||||
|
$('#last-reconfigured-span').text(last_reconfigured.toString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function update() {
|
function update() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user