Remove capitalized letter in error message
Signed-off-by: Johannes M. Scheuermann <joh.scheuer@gmail.com>
This commit is contained in:
parent
0d439c3474
commit
4f0948eed5
@ -576,7 +576,7 @@ func (c *criService) setupPod(id string, path string, config *runtime.PodSandbox
|
|||||||
func toCNIBandWidth(annotations map[string]string) (*cni.BandWidth, error) {
|
func toCNIBandWidth(annotations map[string]string) (*cni.BandWidth, error) {
|
||||||
ingress, egress, err := bandwidth.ExtractPodBandwidthResources(annotations)
|
ingress, egress, err := bandwidth.ExtractPodBandwidthResources(annotations)
|
||||||
if err != nil {
|
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{}
|
bandWidth := &cni.BandWidth{}
|
||||||
|
Loading…
Reference in New Issue
Block a user