luci-app-dockerman: if remote_endpoint is selected a host must be set
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 2ffdf1988e
)
This commit is contained in:
parent
4b4850ead6
commit
fa69377ad3
1 changed files with 3 additions and 1 deletions
|
@ -100,7 +100,9 @@ o.rmempty = false
|
|||
o = s:option(Value, "remote_host",
|
||||
translate("Remote Host"),
|
||||
translate("Host or IP Address for the connection to a remote docker instance"))
|
||||
o.datatype = "host"
|
||||
o.datatype = "host"
|
||||
o.rmempty = false
|
||||
o.optional = false
|
||||
o.placeholder = "10.1.1.2"
|
||||
o:depends("remote_endpoint", 1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue