mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-25 11:31:44 +00:00
Apiserver ServeHTTP() modify
This commit is contained in:
parent
e60df08532
commit
97219275b1
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