spacewander commented on code in PR #8587:
URL: https://github.com/apache/apisix/pull/8587#discussion_r1070880929


##########
apisix/init.lua:
##########
@@ -372,7 +372,7 @@ function _M.handle_upstream(api_ctx, route, 
enable_websocket)
         local upstream = apisix_upstream.get_by_id(up_id)
         if not upstream then
             if is_http then
-                return core.response.exit(502)
+                return core.response.exit(core.ctx, 502)

Review Comment:
   Sorry, what does the core.ctx here mean? It should be `ctx` (or sometimes 
called `api_ctx`).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to