summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dockerman/luasrc/model/cbi
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-dockerman/luasrc/model/cbi')
-rw-r--r--applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua
index dd4828b34f..022664738d 100644
--- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua
+++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua
@@ -65,7 +65,7 @@ if docker.new():_ping().code == 200 then
end
docker_info_table['8IndexServerAddress']._value = docker_info.body.IndexServerAddress
- for i, v in ipairs(docker_info.body.RegistryConfig.Mirrors) do
+ for i, v in ipairs(docker_info.body.RegistryConfig.Mirrors or {}) do
docker_info_table['9RegistryMirrors']._value = docker_info_table['9RegistryMirrors']._value == "-" and v or (docker_info_table['9RegistryMirrors']._value .. ", " .. v)
end