luci-app-dockerman: do not preset value selection
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
ec564ddf6b
commit
9fd1278698
1 changed files with 2 additions and 3 deletions
|
@ -139,9 +139,8 @@ if nixio.fs.access("/usr/bin/dockerd") then
|
||||||
|
|
||||||
o = s:option(DynamicList, "hosts",
|
o = s:option(DynamicList, "hosts",
|
||||||
translate("Client connection"),
|
translate("Client connection"),
|
||||||
translate('Specifies where the Docker daemon will listen for client connections'))
|
translate('Specifies where the Docker daemon will listen for client connections (default: unix:///var/run/docker.sock)'))
|
||||||
o:value("unix:///var/run/docker.sock", "unix:///var/run/docker.sock")
|
o.placeholder = translate("Example: tcp://0.0.0.0:2375")
|
||||||
o:value("tcp://0.0.0.0:2375", "tcp://0.0.0.0:2375")
|
|
||||||
o.rmempty = true
|
o.rmempty = true
|
||||||
o:depends("remote_endpoint", 0)
|
o:depends("remote_endpoint", 0)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue