Merge pull request #4340 from plm/remove-rrd-path-double-escape

luci-app-statistics: remove rrd path double escape
This commit is contained in:
Jo-Philipp Wich 2020-08-08 16:46:07 +02:00 committed by GitHub
commit 304ad04a5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,7 +136,7 @@ function Graph._generic( self, opts, plugin, plugin_instance, dtype, index )
function __def(source)
local inst = source.sname
local rrd = source.rrd:gsub(":", "\\:")
local rrd = source.rrd
local ds = source.ds
if not ds or ds:len() == 0 then ds = "value" end