summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dockerman/luasrc/controller
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-04-08 14:39:22 +0200
committerFlorian Eckert <fe@dev.tdt.de>2021-04-08 16:24:38 +0200
commit63c5cb56142d09c650dfabc873db55b598f09caa (patch)
treec45fe766a6587199a173bd92d09cb79d723e9d5c /applications/luci-app-dockerman/luasrc/controller
parent511405078b0d22d772614c0353a42e10c57ca9b6 (diff)
luci-app-dockerman: removal of the option socket_path
This option is for debug purposes only. It makes no sense to offer this option to the user. Especially as it is not used for a remote connection. 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.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua
index 9167a896ca..def685ce7c 100644
--- a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua
+++ b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua
@@ -22,7 +22,7 @@ function index()
return
end
else
- local socket = luci.model.uci.cursor():get("dockerd", "globals", "socket_path")
+ local socket = luci.model.uci.cursor():get("dockerd", "globals", "socket_path") or "/var/run/docker.sock"
if socket and not nixio.fs.access(socket) then
return
end