From cd92d91e0fe5dff6b0f14e757d4908aac385a5bd Mon Sep 17 00:00:00 2001 From: sshukun Date: Mon, 21 Oct 2019 13:30:45 +0900 Subject: [PATCH] Fix typo in k8s.io/client-go/tools/cache/index.go Kubernetes-commit: a0d3e6750ecbc67d017c2c67d0ff6f12e1b0c1f1 --- tools/cache/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cache/index.go b/tools/cache/index.go index 9fa40683..bbfb3b55 100644 --- a/tools/cache/index.go +++ b/tools/cache/index.go @@ -56,7 +56,7 @@ type Indexer interface { type IndexFunc func(obj interface{}) ([]string, error) // IndexFuncToKeyFuncAdapter adapts an indexFunc to a keyFunc. This is only useful if your index function returns -// unique values for every object. This is conversion can create errors when more than one key is found. You +// unique values for every object. This conversion can create errors when more than one key is found. You // should prefer to make proper key and index functions. func IndexFuncToKeyFuncAdapter(indexFunc IndexFunc) KeyFunc { return func(obj interface{}) (string, error) {