Skip to content
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

refactor(router): clean the logic of get_upstream_uri_v0() #11278

Merged
merged 2 commits into from
Jul 31, 2023

Conversation

chronolaw
Copy link
Contributor

@chronolaw chronolaw commented Jul 25, 2023

Summary

The code of function get_upstream_uri_v0() is too complex,
this PR tries to clean the logic by using early return.

KAG-2148

Checklist

Full changelog

  • [Implement ...]

Issue reference

Fix #[issue number]

@chronolaw chronolaw marked this pull request as ready for review July 25, 2023 07:35
@fffonion fffonion merged commit 1367fa3 into master Jul 31, 2023
20 checks passed
@fffonion fffonion deleted the refactor/router_get_upstream_uri_v0 branch July 31, 2023 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants