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

feat(traffic-split): the upstream pass_host needs to support IP mode #3870

Merged
merged 3 commits into from
Mar 29, 2021

Conversation

Firstsawyou
Copy link
Contributor

@Firstsawyou Firstsawyou commented Mar 19, 2021

What this PR does / why we need it:

fix #3851

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

@Firstsawyou Firstsawyou marked this pull request as ready for review March 29, 2021 06:07
return
end

-- only support single node for `node` mode currently
ctx.var.upstream_host = host
return
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need an extra return at the end of the function.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated @spacewander

@spacewander spacewander merged commit da83328 into apache:master Mar 29, 2021
@Firstsawyou Firstsawyou deleted the traffic-split-3851 branch March 29, 2021 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The upstrem configuration rewrite and upstrem_host in the traffic-split plug-in did not take effect correctly
3 participants