cleanup: move the comment to its place

k3s-v1.15.3
SataQiu 2019-05-23 12:29:12 +08:00
parent 585fa3acc8
commit 64193630a7
2 changed files with 2 additions and 4 deletions

View File

@ -24,10 +24,6 @@ import (
genericfilters "k8s.io/apiserver/pkg/server/filters"
)
// DeprecatedInsecureServingInfo is required to serve http. HTTP does NOT include authentication or authorization.
// You shouldn't be using this. It makes sig-auth sad.
// DeprecatedInsecureServingInfo *ServingInfo
// BuildInsecureHandlerChain sets up the server to listen to http. Should be removed.
func BuildInsecureHandlerChain(apiHandler http.Handler, c *server.Config) http.Handler {
handler := apiHandler

View File

@ -29,6 +29,8 @@ import (
)
// DeprecatedInsecureServingInfo is the main context object for the insecure http server.
// HTTP does NOT include authentication or authorization.
// You shouldn't be using this. It makes sig-auth sad.
type DeprecatedInsecureServingInfo struct {
// Listener is the secure server network listener.
Listener net.Listener