-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
server: register all status routes with mux.Router #51915
Conversation
Welcome @yzhan1! |
Hi @yzhan1. Thanks for your PR. I'm waiting for a pingcap member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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 kubernetes/test-infra repository. |
Hi @yzhan1. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. 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 kubernetes/test-infra repository. |
/ok-to-test |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #51915 +/- ##
=================================================
- Coverage 70.7413% 56.5429% -14.1985%
=================================================
Files 1477 1602 +125
Lines 438550 629278 +190728
=================================================
+ Hits 310236 355812 +45576
- Misses 108889 249776 +140887
- Partials 19425 23690 +4265
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@lance6716 @tiancaiamao @Defined2014 Could you please take a look when it's convenient for you? Much thanks! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hawkingrei, lance6716 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
This reverts commit 9855a55.
What problem does this PR solve?
Issue Number: close #51914
Problem Summary:
Move all status routes to be registered behind
mux.Router
instead of splitting between the router andhttp.ServeMux
.What changed and how does it work?
All status routes are registered with
mux.Router
andmux.Router
itself is registered as an HTTP handler for all routes forhttp.ServeMux
. There should be NO behavior changes and existing test cases for affected routes should continue to pass.Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.