Skip to content

Commit 9ddc9cc

Browse files
authored
Merge pull request kubernetes#78233 from SataQiu/clean-up-20190523
cleanup: move the comment to its place
2 parents 01a5ec3 + 6419363 commit 9ddc9cc

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

pkg/kubeapiserver/server/insecure_handler.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ import (
2424
genericfilters "k8s.io/apiserver/pkg/server/filters"
2525
)
2626

27-
// DeprecatedInsecureServingInfo is required to serve http. HTTP does NOT include authentication or authorization.
28-
// You shouldn't be using this. It makes sig-auth sad.
29-
// DeprecatedInsecureServingInfo *ServingInfo
30-
3127
// BuildInsecureHandlerChain sets up the server to listen to http. Should be removed.
3228
func BuildInsecureHandlerChain(apiHandler http.Handler, c *server.Config) http.Handler {
3329
handler := apiHandler

staging/src/k8s.io/apiserver/pkg/server/deprecated_insecure_serving.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ import (
2929
)
3030

3131
// DeprecatedInsecureServingInfo is the main context object for the insecure http server.
32+
// HTTP does NOT include authentication or authorization.
33+
// You shouldn't be using this. It makes sig-auth sad.
3234
type DeprecatedInsecureServingInfo struct {
3335
// Listener is the secure server network listener.
3436
Listener net.Listener

0 commit comments

Comments
 (0)