ListenAndServe on Kubelet server should be a fatal error

This commit is contained in:
Clayton Coleman 2014-10-20 22:22:02 -04:00
parent cba76ef1ef
commit d0ef3f0596

View File

@ -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.