Merge pull request #2286 from kevinoid/fix_statistics_filename_quoting
luci-app-statistics: quote : in filenames for DEF
This commit is contained in:
commit
a57ba0083e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue