From 36869ffd2b9cf98066ce57e3cc98608b9e2ec9a0 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 8 Apr 2021 15:03:46 +0200 Subject: luci-app-dockerman: do not set log_level for dockerd default setting Signed-off-by: Florian Eckert --- .../luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'applications/luci-app-dockerman/luasrc/model/cbi') diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua index 2e21b806c5..cc4b287cba 100644 --- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua +++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua @@ -131,10 +131,11 @@ if nixio.fs.access("/usr/bin/dockerd") then translate("Log Level"), translate('Set the logging level')) o:value("debug", "debug") - o:value("info", "info") + o:value("", "info") -- This is the default debug level from the deamon is optin is not set o:value("warn", "warn") o:value("error", "error") o:value("fatal", "fatal") + o.rmempty = true o:depends("remote_endpoint", 0) o = s:option(DynamicList, "hosts", -- cgit v1.2.3