Skip to content

Commit aaaefb4

Browse files
authored
Merge pull request #2996 from buraksekili/patch-3
📖 (fix): typo in IndexField method docs
2 parents 3b032e1 + dc33579 commit aaaefb4

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)