Skip to content

Commit

Permalink
Fix typo in IndexField method docs
Browse files Browse the repository at this point in the history
This commit fixes a minor typo in IndexField docs.
  • Loading branch information
buraksekili authored Oct 25, 2024
1 parent 3b032e1 commit dc33579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit dc33579

Please sign in to comment.