Skip to content

Commit 726fd0a

Browse files
committed
fix lint errors
1 parent f622cca commit 726fd0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cache/cache.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,14 @@ func (o *objectCache) init(obj runtime.Object) error {
8989

9090
func (o *objectCache) cacheFor(obj runtime.Object) (*singleObjectCache, error) {
9191
if !o.informers.started {
92-
return nil, fmt.Errorf("Must start Cache before calling Get or List %s %s",
92+
return nil, fmt.Errorf("must start Cache before calling Get or List %s %s",
9393
"Object", fmt.Sprintf("%T", obj))
9494
}
9595
objType := reflect.TypeOf(obj)
9696

9797
cache, isKnown := o.cachesByType[objType]
9898
if !isKnown {
99-
return nil, fmt.Errorf("No Cache found for %T. Must call GetInformer.", obj)
99+
return nil, fmt.Errorf("no Cache found for %T - must call GetInformer", obj)
100100
}
101101
return cache, nil
102102
}

0 commit comments

Comments
 (0)