Skip to content

Commit 535bfcf

Browse files
authored
fix(grpc-web): useless code and code format (#11992)
1 parent 35a59eb commit 535bfcf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apisix/plugins/grpc-web.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ local build_trailer = function (grpc_status, grpc_message)
105105
-- n bytes: trailer
106106
trailer_buf = trailer_buf .. grpc_web_trailer
107107

108-
return trailer_buf
108+
return trailer_buf
109109
end
110110

111111
function _M.access(conf, ctx)
@@ -157,7 +157,6 @@ function _M.access(conf, ctx)
157157

158158
if encoding == CONTENT_ENCODING_BASE64 then
159159
body = decode_base64(body)
160-
ngx.log(ngx.WARN, "DECODE BODY: ", body)
161160
if not body then
162161
core.log.error("failed to decode request body")
163162
return exit(ctx, 400)

0 commit comments

Comments
 (0)