diff options
author | Florian Eckert <fe@dev.tdt.de> | 2019-01-21 14:20:10 +0100 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2019-01-21 14:44:20 +0100 |
commit | c593a210b2305f7901fcb45e0cc1810f4534164c (patch) | |
tree | 0f10f96175ff9803d6c3ce57621423ecbd89f786 /applications/luci-app-statistics/luasrc/statistics/rrdtool | |
parent | 8302e7995eb631accc63a45ee96ef287bc9ce017 (diff) |
luci-app-statisctis: only include lua modules in rrd statistics into local scope
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-statistics/luasrc/statistics/rrdtool')
-rw-r--r-- | applications/luci-app-statistics/luasrc/statistics/rrdtool/colors.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/colors.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/colors.lua index 5b35dff67c..0d3af712fd 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/colors.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/colors.lua @@ -3,10 +3,10 @@ module("luci.statistics.rrdtool.colors", package.seeall) -require("luci.util") +local util = require("luci.util") -Instance = luci.util.class() +Instance = util.class() function Instance.from_string( self, s ) return { |