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

fix: incorrect upstream pass host #108

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

bzp2010
Copy link
Collaborator

@bzp2010 bzp2010 commented Jan 9, 2024

Description

The OpenAPI converter incorrectly set the value of the pass_host field as host (it is absolutely wrong, this configuration value does not exist for APISIX), which should be pass https://github.com/apache/apisix/blob/master/apisix/schema_def.lua#L484 by default, so change it.

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible

Copy link
Contributor

@juzhiyuan juzhiyuan left a comment

Choose a reason for hiding this comment

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

LGTM

@juzhiyuan juzhiyuan merged commit 1398493 into api7:main Jan 9, 2024
8 checks passed
bzp2010 added a commit to bzp2010/adc that referenced this pull request Jul 12, 2024
bzp2010 added a commit to bzp2010/adc that referenced this pull request Jul 12, 2024
bzp2010 added a commit to bzp2010/adc that referenced this pull request Jul 12, 2024
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.

2 participants