Skip to content

Commit

Permalink
Merge pull request #2996 from buraksekili/patch-3
Browse files Browse the repository at this point in the history
📖  (fix): typo in IndexField method docs
  • Loading branch information
k8s-ci-robot authored Oct 25, 2024
2 parents 3b032e1 + dc33579 commit aaaefb4
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 aaaefb4

Please sign in to comment.