Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
l-qing committed Sep 4, 2024
1 parent 4454894 commit 4f54d2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,21 @@ func (opt *ListOptions) WithCached() *ListOptions {
return opt
}

// WithCached set the ResourceVersion to 0
// WithLimit set the limit
func (opt *ListOptions) WithLimit(limit int64) *ListOptions {
opt = opt.init()
opt.Limit = limit
return opt
}

// WithCached set the ResourceVersion to 0
// WithLabelSelector set the label selector
func (opt *ListOptions) WithNamespace(namespace string) *ListOptions {
opt = opt.init()
opt.Namespace = namespace
return opt
}

// WithUnsafeDisableDeepCopy set the UnsafeDisableDeepCopy to true
func (opt *ListOptions) WithUnsafeDisableDeepCopy() *ListOptions {
opt = opt.init()
True := true
Expand Down

0 comments on commit 4f54d2e

Please sign in to comment.