From 6433e2dd2b6e783861db1bfaf5b6ab5c30d36a6c Mon Sep 17 00:00:00 2001 From: Xiang Li Date: Thu, 19 Feb 2015 21:30:24 -0800 Subject: [PATCH] pkg/kubelet: uncaptialize the error message in cadvisor.go --- pkg/kubelet/cadvisor.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/kubelet/cadvisor.go b/pkg/kubelet/cadvisor.go index c60bec0ba65..bb05d6846f5 100644 --- a/pkg/kubelet/cadvisor.go +++ b/pkg/kubelet/cadvisor.go @@ -27,13 +27,13 @@ import ( var ( // ErrNoKubeletContainers returned when there are not containers managed by the kubelet (ie: either no containers on the node, or none that the kubelet cares about). - ErrNoKubeletContainers = errors.New("No containers managed by kubelet") + ErrNoKubeletContainers = errors.New("no containers managed by kubelet") // ErrContainerNotFound returned when a container in the given pod with the given container name was not found, amongst those managed by the kubelet. - ErrContainerNotFound = errors.New("No matching container") + ErrContainerNotFound = errors.New("no matching container") // ErrCadvisorApiFailure returned when cadvisor couldn't retrieve stats for the given container, either because it isn't running or it was confused by the request - ErrCadvisorApiFailure = errors.New("Failed to retrieve cadvisor stats") + ErrCadvisorApiFailure = errors.New("failed to retrieve cadvisor stats") ) // cadvisorInterface is an abstract interface for testability. It abstracts the interface of "github.com/google/cadvisor/client".Client.