Merge pull request #2286 from kevinoid/fix_statistics_filename_quoting

luci-app-statistics: quote : in filenames for DEF
This commit is contained in:
Jo-Philipp Wich 2018-11-15 07:14:06 +01:00 committed by GitHub
commit a57ba0083e
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
local rrd = source.rrd:gsub(":", "\\:")
local ds = source.ds
if not ds or ds:len() == 0 then ds = "value" end