-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support to use upstream_id in stream_route #4121
Conversation
Ping @membphis Please take a look. |
@tokers you need to resolve the conflict files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can merge this PR after resolving the conflict files
if err then | ||
core.log.error("failed to get resolved upstream: ", err) | ||
if is_http then | ||
return core.response.exit(500) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
origin code return 500 http status code
@membphis Conflicts resolved. |
What this PR does / why we need it:
Currently, we can only use
upstream
insidestream_route
, althoughupstream_id
is a valid field in it, it's not used totally.Pre-submission checklist: