From db464cd92ad43a2304e44a7b7f1ec2915e3e30d3 Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Fri, 10 Jan 2025 08:45:56 -0500 Subject: [PATCH] chore: remove ununsed variable --- proxy/proxy.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/proxy.conf b/proxy/proxy.conf index d3cd4d2..8f9f192 100644 --- a/proxy/proxy.conf +++ b/proxy/proxy.conf @@ -24,7 +24,7 @@ server { rewrite_by_lua_block { 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 }