summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2018-10-10 20:25:11 +0300
committerGitHub <noreply@github.com>2018-10-10 20:25:11 +0300
commit67fd6b6e5ea6b843a4427bed62a31e96f3ff0a1f (patch)
tree09689cc4f3b1194012f0e0830a49692cdd6fd1d8 /applications/luci-app-statistics
parenta9948891a8d0262e88e43472c13fdb0d3ba9c72b (diff)
parent401382a459743db941738a645822b443ecfdc596 (diff)
Merge pull request #2197 from yangfl/master
treewide: Fix typos in comments
Diffstat (limited to 'applications/luci-app-statistics')
-rw-r--r--applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua2
-rw-r--r--applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/interface.lua2
-rw-r--r--applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua b/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
index ec26f02d0d..de7bdbadfe 100644
--- a/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
+++ b/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
@@ -10,7 +10,7 @@ function index()
require("luci.util")
require("luci.statistics.datatree")
- -- override entry(): check for existance <plugin>.so where <plugin> is derived from the called path
+ -- override entry(): check for existence <plugin>.so where <plugin> is derived from the called path
function _entry( path, ... )
local file = path[5] or path[4]
if nixio.fs.access( "/usr/lib/collectd/" .. file .. ".so" ) then
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/interface.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/interface.lua
index 6f687d218d..6ca65e539f 100644
--- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/interface.lua
+++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/interface.lua
@@ -17,7 +17,7 @@ function rrdargs( graph, plugin, plugin_instance )
-- diagram data description
data = {
- -- defined sources for data types, if ommitted assume a single DS named "value" (optional)
+ -- defined sources for data types, if omitted assume a single DS named "value" (optional)
sources = {
if_octets = { "tx", "rx" }
},
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua
index 7b6acf3663..a612126ed0 100644
--- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua
+++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua
@@ -14,7 +14,7 @@ function rrdargs( graph, plugin, plugin_instance )
-- diagram data description
data = {
- -- defined sources for data types, if ommitted assume a single DS named "value" (optional)
+ -- defined sources for data types, if omitted assume a single DS named "value" (optional)
sources = {
if_octets = { "tx", "rx" }
},