]> git.proxmox.com Git - pmg-gui.git/commit
dashboard: reduce noise in current kernel version
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Feb 2024 15:17:10 +0000 (16:17 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Feb 2024 15:17:12 +0000 (16:17 +0100)
commit378a1024cb3b7f21a4ed9a2bc673a7daabc949de
tree05eca4fc45d743fc4d03be773cd1761b50bb84f8
parent9d89cc9073e2762b299269416624970f289c58b4
dashboard: reduce noise in current kernel version

use the new 'current-kernel' object returned by the node status API to
render a more usable (less noise) version information.

Keep fallback for old one to better work with upgrades (major and
minor) to this version in a cluster, where the web UI one uses might
be the new one, but a node one looks at still have the old API daemon.

Mirrors commit be04f8ee ("ui: node summary: reduce noise in current
kernel version") and commit 4fb7e9e4 ("fix #5121: ui: node status:
avoid invalid array access for certain foreign kernels") from
pve-manager.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/dashboard/NodeInfo.js