luci-app-keepalived: include FAULT state to state
authorChristian Korber <ck@dev.tdt.de>
Mon, 10 Feb 2025 08:15:19 +0000 (09:15 +0100)
committerChristian Korber <ck@dev.tdt.de>
Wed, 12 Feb 2025 09:31:50 +0000 (10:31 +0100)
commit8843810954eccbf7976851a1931c06730fb4fb5b
tree7be3b7be49fb9bb51a8c1b3533f3749d9f5833dd
parent2e9ffc6628d91065326cc1e16ea15f9f8f4f00a0
luci-app-keepalived: include FAULT state to state

Upstream only handles state according to whether the machine was in
BACKUP or MASTER. FAULT state is not handled but upstream keepalived
does support that by exporting json with `state` which reflects the
state (FAULT included).

Signed-off-by: Christian Korber <ck@dev.tdt.de>
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/overview.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/status/include/35_keepalived.js