Skip to content

Commit 1da2595

Browse files
committed
Fix comment on ListOptions
1 parent 51159d3 commit 1da2595

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)