From dc33579dad4bfd7f2e4b52edc12c84128ab612f6 Mon Sep 17 00:00:00 2001 From: Burak Sekili Date: Fri, 25 Oct 2024 23:40:29 +0300 Subject: [PATCH] Fix typo in IndexField method docs This commit fixes a minor typo in IndexField docs. --- pkg/client/interfaces.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/client/interfaces.go b/pkg/client/interfaces.go index 3cd745e4c0..13d176c931 100644 --- a/pkg/client/interfaces.go +++ b/pkg/client/interfaces.go @@ -193,7 +193,7 @@ type IndexerFunc func(Object) []string // FieldIndexer knows how to index over a particular "field" such that it // can later be used by a field selector. type FieldIndexer interface { - // IndexFields adds an index with the given field name on the given object type + // IndexField adds an index with the given field name on the given object type // by using the given function to extract the value for that field. If you want // compatibility with the Kubernetes API server, only return one key, and only use // fields that the API server supports. Otherwise, you can return multiple keys,