Commit 61087258 authored by k8s-merge-robot's avatar k8s-merge-robot Committed by GitHub

Merge pull request #29047 from lixiaobing10051267/masterServe

Automatic merge from submit-queue Apiserver ServeHTTP() modify In File "pkg\apiserver\watch.go", line 123: "// Serve serves a series of encoded events via HTTP with Transfer-Encoding: chunked" Here "Serve" should be "ServeHTTP" because the func name is ServeHTTP: "func (s *WatchServer) ServeHTTP(w http.ResponseWriter, req *http.Request)"
parents d08a7226 97219275
......@@ -120,7 +120,7 @@ type WatchServer struct {
t timeoutFactory
}
// Serve serves a series of encoded events via HTTP with Transfer-Encoding: chunked
// ServeHTTP serves a series of encoded events via HTTP with Transfer-Encoding: chunked
// or over a websocket connection.
func (s *WatchServer) ServeHTTP(w http.ResponseWriter, req *http.Request) {
w = httplog.Unlogged(w)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment