Merge pull request #1921 from smarterclayton/http_listen_err_is_fatal

ListenAndServe on Kubelet server should be a fatal error
This commit is contained in:
Brendan Burns 2014-10-21 07:23:59 -07:00
commit b74854895e

View File

@ -57,7 +57,7 @@ func ListenAndServeKubeletServer(host HostInterface, updates chan<- interface{},
WriteTimeout: 10 * time.Second,
MaxHeaderBytes: 1 << 20,
}
s.ListenAndServe()
glog.Fatal(s.ListenAndServe())
}
// HostInterface contains all the kubelet methods required by the server.