mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 19:52:42 +00:00
Refactor kubelet to use http.ServeMux
This commit is contained in:
@@ -162,7 +162,7 @@ func main() {
|
||||
// start the kubelet server
|
||||
if *enableServer {
|
||||
go util.Forever(func() {
|
||||
kubelet.ListenAndServeKubeletServer(k, cfg.Channel("http"), http.DefaultServeMux, *address, *port)
|
||||
kubelet.ListenAndServeKubeletServer(k, cfg.Channel("http"), *address, *port)
|
||||
}, 0)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user