summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dockerman/luasrc/model/cbi
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-04-08 14:59:02 +0200
committerFlorian Eckert <fe@dev.tdt.de>2021-04-08 16:25:13 +0200
commit9fd127869896ccf8e8e587c0eb43222fe71c9cfa (patch)
tree27c864105aa60b290233e020f08394d5f5975780 /applications/luci-app-dockerman/luasrc/model/cbi
parentec564ddf6b0858a04699716eb68a8f91dba27f67 (diff)
luci-app-dockerman: do not preset value selection
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-dockerman/luasrc/model/cbi')
-rw-r--r--applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua5
1 files changed, 2 insertions, 3 deletions
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