diff --git a/api.go b/api.go index 6acd83d..89fb701 100644 --- a/api.go +++ b/api.go @@ -353,7 +353,7 @@ func (a *App) status(w http.ResponseWriter, r *http.Request) { d30, u30 := sumPoints(a.stats.series(nil, "30d")) checks := a.kernel.Checks(cfg) last, applyErr := a.recon.Status() - ac := Check{Name: "Last apply", OK: applyErr == nil, Detail: "applied " + last.Format(time.RFC3339)} + ac := Check{Name: "Kernel in sync", OK: applyErr == nil, Detail: "applied " + last.Format(time.RFC3339)} if applyErr != nil { ac.Detail = applyErr.Error() } diff --git a/app.js b/app.js index 10ad1fe..f51777c 100644 --- a/app.js +++ b/app.js @@ -1855,8 +1855,7 @@ t.status = c.ok ? 'Present' : 'Missing'; if (/^table /.test(c.detail)) { t.raw = c.detail.replace(/ (present|missing)$/, ''); t.problem = null; } break; - case 'Last apply': - t.label = 'Kernel in sync'; + case 'Kernel in sync': if (c.ok) { const iso = c.detail.replace(/^applied /, ''); t.status = ago(iso); t.title = fmtStamp(iso); } else t.status = 'Out of sync'; break; case 'Latency check': t.status = c.ok ? 'Tunnel ping works' : 'Failing'; break;