summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dockerman/luasrc/model
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2020-07-29 11:31:58 +0200
committerFlorian Eckert <fe@dev.tdt.de>2020-07-29 11:43:02 +0200
commit3794693675fc993af3112cfe7cdf990e7cc7e891 (patch)
tree66f251e19ebedc6a004c5993e7ba2e0ae1f02e4c /applications/luci-app-dockerman/luasrc/model
parent543498d88e79ae47e057519aecedeb8b50b56949 (diff)
luci-app-dockerman: model/docker: socket path variable name
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-dockerman/luasrc/model')
-rw-r--r--applications/luci-app-dockerman/luasrc/model/docker.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-dockerman/luasrc/model/docker.lua b/applications/luci-app-dockerman/luasrc/model/docker.lua
index aadc0cdaa7..891afe7470 100644
--- a/applications/luci-app-dockerman/luasrc/model/docker.lua
+++ b/applications/luci-app-dockerman/luasrc/model/docker.lua
@@ -272,7 +272,7 @@ end
_docker.new = function()
local host = nil
local port = nil
- local socket = nil
+ local socket_path = nil
local debug_path = nil
local remote = uci:get_bool("dockerd", "globals", "remote_endpoint")
@@ -280,7 +280,7 @@ _docker.new = function()
host = uci:get("dockerd", "globals", "remote_host") or nil
port = uci:get("dockerd", "globals", "remote_port") or nil
else
- socket = uci:get("dockerd", "globals", "socket_path") or "/var/run/docker.sock"
+ socket_path = uci:get("dockerd", "globals", "socket_path") or "/var/run/docker.sock"
end
local debug = uci:get_bool("dockerd", "globals", "debug")
@@ -291,7 +291,7 @@ _docker.new = function()
_docker.options = {
host = host,
port = port,
- socket_path = socket,
+ socket_path = socket_path,
debug = debug,
debug_path = debug_path,
status_path = uci:get("dockerd", "globals", "status_path") or "/tmp/.docker_status"