diff options
author | Florian Eckert <fe@dev.tdt.de> | 2020-07-29 11:33:08 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2020-07-29 11:43:10 +0200 |
commit | 25539b2d98722adbe01927f8b563e325f54058f1 (patch) | |
tree | 3f3b621891e48b5ce053287aab5b6da644ad690d /applications/luci-app-dockerman/luasrc | |
parent | 3794693675fc993af3112cfe7cdf990e7cc7e891 (diff) |
luci-app-dockerman: model/docker: update options object for status_path
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-dockerman/luasrc')
-rw-r--r-- | applications/luci-app-dockerman/luasrc/model/docker.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/luci-app-dockerman/luasrc/model/docker.lua b/applications/luci-app-dockerman/luasrc/model/docker.lua index 891afe7470..a0c74c0e41 100644 --- a/applications/luci-app-dockerman/luasrc/model/docker.lua +++ b/applications/luci-app-dockerman/luasrc/model/docker.lua @@ -288,13 +288,15 @@ _docker.new = function() debug_path = uci:get("dockerd", "globals", "debug_path") or "/tmp/.docker_debug" end + local status_path = uci:get("dockerd", "globals", "status_path") or "/tmp/.docker_status" + _docker.options = { host = host, port = port, socket_path = socket_path, debug = debug, debug_path = debug_path, - status_path = uci:get("dockerd", "globals", "status_path") or "/tmp/.docker_status" + status_path = status_path } local _new = docker.new(_docker.options) |