From 4f0948eed56a85566ff3556ffdc466fb8526c403 Mon Sep 17 00:00:00 2001 From: "Johannes M. Scheuermann" Date: Wed, 29 May 2019 08:01:33 +0200 Subject: [PATCH] Remove capitalized letter in error message Signed-off-by: Johannes M. Scheuermann --- pkg/server/sandbox_run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/server/sandbox_run.go b/pkg/server/sandbox_run.go index bc6bb8dea..2ec45c0cc 100644 --- a/pkg/server/sandbox_run.go +++ b/pkg/server/sandbox_run.go @@ -576,7 +576,7 @@ func (c *criService) setupPod(id string, path string, config *runtime.PodSandbox func toCNIBandWidth(annotations map[string]string) (*cni.BandWidth, error) { ingress, egress, err := bandwidth.ExtractPodBandwidthResources(annotations) if err != nil { - return nil, fmt.Errorf("Error reading pod bandwidth annotations: %v", err) + return nil, errors.Errorf("reaing pod bandwidth annotations: %v", err) } bandWidth := &cni.BandWidth{}