mirror of
https://github.com/CyberL1/dlinux-dashboard.git
synced 2025-01-22 01:19:18 -05:00
chore: remove ununsed variable
This commit is contained in:
parent
b1cfeea4c3
commit
db464cd92a
@ -24,7 +24,7 @@ server {
|
|||||||
rewrite_by_lua_block {
|
rewrite_by_lua_block {
|
||||||
local http = require("resty.http").new()
|
local http = require("resty.http").new()
|
||||||
|
|
||||||
local res, err = http:request_uri("http://127.0.0.1:3000/containers/" .. ngx.var.container .. "/ip")
|
local res = http:request_uri("http://127.0.0.1:3000/containers/" .. ngx.var.container .. "/ip")
|
||||||
ngx.var.ip = res.body
|
ngx.var.ip = res.body
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user