mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
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)"
This commit is contained in:
commit
6108725869
2
pkg/apiserver/watch.go
Normal file → Executable file
2
pkg/apiserver/watch.go
Normal file → Executable file
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user