Remove ErrNoKubeletContainers

We no longer use it.
This commit is contained in:
Yu-Ju Hong
2015-04-30 13:35:21 -07:00
parent 2f7b951140
commit 644ec0dbfb
2 changed files with 1 additions and 5 deletions

View File

@@ -718,7 +718,7 @@ func (s *Server) serveStats(w http.ResponseWriter, req *http.Request) {
switch err {
case nil:
break
case ErrNoKubeletContainers, ErrContainerNotFound:
case ErrContainerNotFound:
http.Error(w, err.Error(), http.StatusNotFound)
return
default: