Skip to content

Commit dc33579

Browse files
authored
Fix typo in IndexField method docs
This commit fixes a minor typo in IndexField docs.
1 parent 3b032e1 commit dc33579

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/client/interfaces.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ type IndexerFunc func(Object) []string
193193
// FieldIndexer knows how to index over a particular "field" such that it
194194
// can later be used by a field selector.
195195
type FieldIndexer interface {
196-
// IndexFields adds an index with the given field name on the given object type
196+
// IndexField adds an index with the given field name on the given object type
197197
// by using the given function to extract the value for that field. If you want
198198
// compatibility with the Kubernetes API server, only return one key, and only use
199199
// fields that the API server supports. Otherwise, you can return multiple keys,

0 commit comments

Comments
 (0)