From d0ef3f059683670ffe3b2fb83c0e6afb4f8cd082 Mon Sep 17 00:00:00 2001 From: Clayton Coleman Date: Mon, 20 Oct 2014 22:22:02 -0400 Subject: [PATCH] ListenAndServe on Kubelet server should be a fatal error --- pkg/kubelet/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/server.go b/pkg/kubelet/server.go index 3840598fe4c..45964132f21 100644 --- a/pkg/kubelet/server.go +++ b/pkg/kubelet/server.go @@ -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.