We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f622cca commit 726fd0aCopy full SHA for 726fd0a
pkg/cache/cache.go
@@ -89,14 +89,14 @@ func (o *objectCache) init(obj runtime.Object) error {
89
90
func (o *objectCache) cacheFor(obj runtime.Object) (*singleObjectCache, error) {
91
if !o.informers.started {
92
- return nil, fmt.Errorf("Must start Cache before calling Get or List %s %s",
+ return nil, fmt.Errorf("must start Cache before calling Get or List %s %s",
93
"Object", fmt.Sprintf("%T", obj))
94
}
95
objType := reflect.TypeOf(obj)
96
97
cache, isKnown := o.cachesByType[objType]
98
if !isKnown {
99
- return nil, fmt.Errorf("No Cache found for %T. Must call GetInformer.", obj)
+ return nil, fmt.Errorf("no Cache found for %T - must call GetInformer", obj)
100
101
return cache, nil
102
0 commit comments