summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dockerman/luasrc/controller
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2020-07-17 13:16:14 +0200
committerFlorian Eckert <fe@dev.tdt.de>2020-07-28 14:16:14 +0200
commita4a9f0a68379faf0a73525fdd745d3b9d36f8583 (patch)
treebc49f5252f8e1c0af84f92774a0a88207fb7c21a /applications/luci-app-dockerman/luasrc/controller
parent88ced182031200ffa6a102cdac0c12865d135a22 (diff)
luci-app-dockerman: use uci from docker-ce
Change the source to user docker-ce and update docker uci options name. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-dockerman/luasrc/controller')
-rw-r--r--applications/luci-app-dockerman/luasrc/controller/dockerman.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua
index aabad3360d..6f4e43df53 100644
--- a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua
+++ b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua
@@ -16,13 +16,13 @@ function index()
entry({"admin","docker","overview"},cbi("dockerman/overview"),_("Overview"),0).leaf=true
- local remote = luci.model.uci.cursor():get("dockerman", "local", "remote_endpoint")
+ local remote = luci.model.uci.cursor():get("dockerd", "globals", "remote_endpoint")
if remote == nil then
- local socket = luci.model.uci.cursor():get("dockerman", "local", "socket_path")
+ local socket = luci.model.uci.cursor():get("dockerd", "globals", "socket_path")
if socket and not nixio.fs.access(socket) then return end
elseif remote == "true" then
- local host = luci.model.uci.cursor():get("dockerman", "local", "remote_host")
- local port = luci.model.uci.cursor():get("dockerman", "local", "remote_port")
+ local host = luci.model.uci.cursor():get("dockerd", "globals", "remote_host")
+ local port = luci.model.uci.cursor():get("dockerd", "globals", "remote_port")
if not host or not port then return end
end