Merge pull request #616 from chris5560/master
luci-app-ddns: removing unneeded assert
This commit is contained in:
commit
0f1e39a90a
3 changed files with 2 additions and 4 deletions
|
@ -10,7 +10,7 @@ PKG_NAME:=luci-app-ddns
|
||||||
|
|
||||||
# Version == major.minor.patch
|
# Version == major.minor.patch
|
||||||
# increase on new functionality (minor) or patches (patch)
|
# increase on new functionality (minor) or patches (patch)
|
||||||
PKG_VERSION:=2.2.4
|
PKG_VERSION:=2.3.1
|
||||||
|
|
||||||
# Release == build
|
# Release == build
|
||||||
# increase on changes of translation files
|
# increase on changes of translation files
|
||||||
|
|
2
applications/luci-app-ddns/luasrc/controller/ddns.lua
Normal file → Executable file
2
applications/luci-app-ddns/luasrc/controller/ddns.lua
Normal file → Executable file
|
@ -22,7 +22,7 @@ local srv_ver_min = "2.5.0" -- minimum version of service required
|
||||||
local srv_ver_cmd = [[/usr/lib/ddns/dynamic_dns_updater.sh --version | awk {'print $2'}]]
|
local srv_ver_cmd = [[/usr/lib/ddns/dynamic_dns_updater.sh --version | awk {'print $2'}]]
|
||||||
local app_name = "luci-app-ddns"
|
local app_name = "luci-app-ddns"
|
||||||
local app_title = "Dynamic DNS"
|
local app_title = "Dynamic DNS"
|
||||||
local app_version = "2.3.0-1"
|
local app_version = "2.3.1-1"
|
||||||
|
|
||||||
function index()
|
function index()
|
||||||
local nxfs = require "nixio.fs" -- global definitions not available
|
local nxfs = require "nixio.fs" -- global definitions not available
|
||||||
|
|
2
applications/luci-app-ddns/luasrc/tools/ddns.lua
Normal file → Executable file
2
applications/luci-app-ddns/luasrc/tools/ddns.lua
Normal file → Executable file
|
@ -166,8 +166,6 @@ function value_parse(self, section, novld)
|
||||||
return -- so data is missing
|
return -- so data is missing
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
-- for whatever reason errtxt set and not handled above
|
|
||||||
assert( not (errtxt and (#errtxt > 0)), "unhandled validate error" )
|
|
||||||
|
|
||||||
-- lets continue with value returned from validate
|
-- lets continue with value returned from validate
|
||||||
eq_cfg = ( vvalue == cvalue ) -- update equal_config flag
|
eq_cfg = ( vvalue == cvalue ) -- update equal_config flag
|
||||||
|
|
Loading…
Reference in a new issue