mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
ListenAndServe on Kubelet server should be a fatal error
This commit is contained in:
parent
cba76ef1ef
commit
d0ef3f0596
@ -57,7 +57,7 @@ func ListenAndServeKubeletServer(host HostInterface, updates chan<- interface{},
|
|||||||
WriteTimeout: 10 * time.Second,
|
WriteTimeout: 10 * time.Second,
|
||||||
MaxHeaderBytes: 1 << 20,
|
MaxHeaderBytes: 1 << 20,
|
||||||
}
|
}
|
||||||
s.ListenAndServe()
|
glog.Fatal(s.ListenAndServe())
|
||||||
}
|
}
|
||||||
|
|
||||||
// HostInterface contains all the kubelet methods required by the server.
|
// HostInterface contains all the kubelet methods required by the server.
|
||||||
|
Loading…
Reference in New Issue
Block a user