From 1bfede250c932cd0a5cbd9d1f5752b15134e08cd Mon Sep 17 00:00:00 2001 From: Daniel Redetzke Date: Mon, 5 Oct 2026 22:28:16 +0300 Subject: [PATCH] Health: "Last apply" reads "Kernel in sync" The health row that shows when the config was last written to the kernel is now called Kernel in sync, with the time since then, or Out of sync and the kernel's error when applying failed. The API keeps the check's name, so clients are unaffected. --- app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 5000c7c..10ad1fe 100644 --- a/app.js +++ b/app.js @@ -1856,7 +1856,8 @@ if (/^table /.test(c.detail)) { t.raw = c.detail.replace(/ (present|missing)$/, ''); t.problem = null; } break; case 'Last apply': - if (c.ok) { const iso = c.detail.replace(/^applied /, ''); t.status = ago(iso); t.title = fmtStamp(iso); } else t.status = 'Failed'; + t.label = '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; }