-
Notifications
You must be signed in to change notification settings - Fork 720
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
dashboard: fix a bug that could not handle proxy requests correctly #5326
Conversation
Signed-off-by: HunDunDM <hundundm@gmail.com>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Codecov Report
@@ Coverage Diff @@
## master #5326 +/- ##
==========================================
- Coverage 75.85% 75.77% -0.08%
==========================================
Files 312 312
Lines 30999 31000 +1
==========================================
- Hits 23514 23491 -23
- Misses 5489 5504 +15
- Partials 1996 2005 +9
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
||
suite.redirector.SetAddress(suite.tempServer.URL) | ||
// Test normal forwarding | ||
req, err := http.NewRequest("GET", redirectorServer.URL, nil) |
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.
req, err := http.NewRequest("GET", redirectorServer.URL, nil) | |
req, err := http.NewRequest(http.MethodGet, redirectorServer.URL, nil) |
Please replace all with http.MethodGet
.
Signed-off-by: HunDunDM <hundundm@gmail.com>
/merge |
@nolouch: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 424fedf
|
In response to a cherrypick label: new pull request created: #5345. |
/run-cherry-picker |
In response to a cherrypick label: new pull request created: #5353. |
In response to a cherrypick label: new pull request created: #5354. |
In response to a cherrypick label: new pull request created: #5355. |
In response to a cherrypick label: new pull request created: #5356. |
In response to a cherrypick label: new pull request created: #5357. |
…ikv#5326) Signed-off-by: HunDunDM <hundundm@gmail.com>
…ikv#5326) Signed-off-by: HunDunDM <hundundm@gmail.com>
What problem does this PR solve?
Issue Number: Close #5321
What is changed and how does it work?
Only process headers added by PD.
Check List
Tests
Related changes
Release note