mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Merge pull request #42886 from deads2k/server-02-fallthrough
Automatic merge from submit-queue allow fallthrough handling from go-restful routes This sets up the gorestful routes to fall through to a default handler and reorders the API to be ahead of the other endpoints. This makes it possible to cleanly support cases of "match, fail, try this other handler" which we'll need for API server composition. @kubernetes/sig-api-machinery-pr-reviews @ncdc
This commit is contained in:
@@ -216,7 +216,7 @@ func (c completedConfig) New() (*Master, error) {
|
||||
}
|
||||
|
||||
if c.EnableUISupport {
|
||||
routes.UIRedirect{}.Install(s.HandlerContainer)
|
||||
routes.UIRedirect{}.Install(s.FallThroughHandler)
|
||||
}
|
||||
if c.EnableLogsSupport {
|
||||
routes.Logs{}.Install(s.HandlerContainer)
|
||||
|
||||
Reference in New Issue
Block a user