From 8031b34d47b59fcced430de41428f3a2f3eaed77 Mon Sep 17 00:00:00 2001 From: Zeping Bai Date: Tue, 25 Feb 2025 11:38:49 +0800 Subject: [PATCH] fix(grpc-web): useless code and code format --- apisix/plugins/grpc-web.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apisix/plugins/grpc-web.lua b/apisix/plugins/grpc-web.lua index d69d3e6651ca..43a075c486f3 100644 --- a/apisix/plugins/grpc-web.lua +++ b/apisix/plugins/grpc-web.lua @@ -105,7 +105,7 @@ local build_trailer = function (grpc_status, grpc_message) -- n bytes: trailer trailer_buf = trailer_buf .. grpc_web_trailer - return trailer_buf + return trailer_buf end function _M.access(conf, ctx) @@ -157,7 +157,6 @@ function _M.access(conf, ctx) if encoding == CONTENT_ENCODING_BASE64 then body = decode_base64(body) - ngx.log(ngx.WARN, "DECODE BODY: ", body) if not body then core.log.error("failed to decode request body") return exit(ctx, 400)