moonming commented on a change in pull request #3382:
URL: https://github.com/apache/apisix/pull/3382#discussion_r561885573



##########
File path: apisix/upstream.lua
##########
@@ -131,21 +131,21 @@ function _M.set_by_route(route, api_ctx)
 
     local up_conf = api_ctx.matched_upstream
     if not up_conf then
-        return 500, "missing upstream configuration in Route or Service"
+        return 503, "missing upstream configuration in Route or Service"

Review comment:
       no test case cover




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to