summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nut/luasrc/model/cbi
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2019-06-16 17:54:04 +0300
committerHannu Nyman <hannu.nyman@iki.fi>2019-06-16 17:54:04 +0300
commitcffeee49d7be19743cc40459fa1f423517f215c0 (patch)
treeba7dbb591bd005fa8f8e950db5187dd9865c5ab2 /applications/luci-app-nut/luasrc/model/cbi
parentab70fb1ac6cd48539285dfaae7d28d29f487d8c3 (diff)
treewide: fix datetype/datatype typo
Fix 'datetype' typo. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-nut/luasrc/model/cbi')
-rw-r--r--applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua b/applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua
index 0eda5d83e0..2496259bad 100644
--- a/applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua
+++ b/applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua
@@ -190,7 +190,7 @@ o.optional = false
o = s:option(Value, "hostname", translate("Hostname or address of UPS"))
o.optional = false
-s.datetype = "host"
+s.datatype = "host"
o = s:option(Value, "port", translate("Port"))
o.optional = true
@@ -219,7 +219,7 @@ o.optional = false
o = s:option(Value, "hostname", translate("Hostname or address of UPS"))
o.optional = false
-s.datetype = "host"
+s.datatype = "host"
o = s:option(Value, "port", translate("Port"))
o.optional = true