Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
luci-app-statistics: fix prepare values from list vlaues
If UCI store values as a list instead of an option, conversation for the collectd configuration is not work correctly. This is due to the use of a DynamicList type element in the UI (for example, for the RRATimespans field). For this function argument val receives as array instead of a string, so no additional conversion is required. Signed-off-by: Aleksey Kolosov <[email protected]>
- Loading branch information