Skip to content

Commit 5d08242

Browse files
authored
Merge pull request #1892 from xrstf/fix-comment
📖 Fix comment on ListOptions
2 parents 51159d3 + 1da2595 commit 5d08242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/client/options.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ func (p PropagationPolicy) ApplyToDeleteAllOf(opts *DeleteAllOfOptions) {
318318
// pre-parsed selectors (since generally, selectors will be executed
319319
// against the cache).
320320
type ListOptions struct {
321-
// LabelSelector filters results by label. Use SetLabelSelector to
321+
// LabelSelector filters results by label. Use labels.Parse() to
322322
// set from raw string form.
323323
LabelSelector labels.Selector
324324
// FieldSelector filters results by a particular field. In order

0 commit comments

Comments
 (0)