Skip to content
Commit 8816c8ff authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-app-statistics: treat APC UPS "host" setting as single value option

Existing Lua code incorrectly stated that the "Host" option takes a space
sparated list of hostnames which is not the case since the collect plugin
does not handle multiple hosts.

This change reverts the configuration to a simple value as proposed by
the original PR and adjusts the config summary accordingly, while retaining
the translation string.

Ref: https://github.com/openwrt/luci/pull/5010#issuecomment-827285319
Fixes: dd5d96af ("luci-app-statistics: fix APC UPS host configuration")
Fixes: e7d22dce

 ("luci-app-statistics: convert collectd configuration to client side views")
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent c6b4d4ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment