From 9fd127869896ccf8e8e587c0eb43222fe71c9cfa Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 8 Apr 2021 14:59:02 +0200 Subject: luci-app-dockerman: do not preset value selection Signed-off-by: Florian Eckert --- .../luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'applications/luci-app-dockerman') 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 5fe6b2b3ec..2e21b806c5 100644 --- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua +++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua @@ -139,9 +139,8 @@ if nixio.fs.access("/usr/bin/dockerd") then o = s:option(DynamicList, "hosts", translate("Client connection"), - translate('Specifies where the Docker daemon will listen for client connections')) - o:value("unix:///var/run/docker.sock", "unix:///var/run/docker.sock") - o:value("tcp://0.0.0.0:2375", "tcp://0.0.0.0:2375") + translate('Specifies where the Docker daemon will listen for client connections (default: unix:///var/run/docker.sock)')) + o.placeholder = translate("Example: tcp://0.0.0.0:2375") o.rmempty = true o:depends("remote_endpoint", 0) end -- cgit v1.2.3