Merge pull request #2657 from msurovcak/msurovcak-statistics-collon
luci-app-statistics - allow rrd files to contain :
This commit is contained in:
commit
1b79446fdf
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ function Graph._mkpath( self, plugin, plugin_instance, dtype, dtype_instance )
|
|||
end
|
||||
|
||||
function Graph.mkrrdpath( self, ... )
|
||||
return string.format( "%s/%s.rrd", self.opts.rrdpath, self:_mkpath( ... ) )
|
||||
return string.format( "%s/%s.rrd", self.opts.rrdpath, string.gsub(self:_mkpath( ... ), ":", "\\:") )
|
||||
end
|
||||
|
||||
function Graph.mkpngpath( self, ... )
|
||||
|
|
Loading…
Reference in a new issue