File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -87,9 +87,9 @@ var _ = Describe("NewCachingClientBuilder", func() {
8787 Expect (cl .Create (context .TODO (), cfgMap )).To (Succeed ())
8888 })
8989 AfterEach (func () {
90- Eventually (func () error { return client .IgnoreNotFound (cl .Delete (context .TODO (), pod )) }).Should (BeNil ())
91- Eventually (func () error { return client .IgnoreNotFound (cl .Delete (context .TODO (), cfgMap )) }).Should (BeNil ())
92- Eventually (func () error { return client .IgnoreNotFound (cl .Delete (context .TODO (), ns )) }).Should (BeNil ())
90+ Eventually (func () error { return client .IgnoreNotFound (cl .Delete (context .TODO (), pod )) }).Should (Succeed ())
91+ Eventually (func () error { return client .IgnoreNotFound (cl .Delete (context .TODO (), cfgMap )) }).Should (Succeed ())
92+ Eventually (func () error { return client .IgnoreNotFound (cl .Delete (context .TODO (), ns )) }).Should (Succeed ())
9393 })
9494
9595 When ("caches are not started" , func () {
Original file line number Diff line number Diff line change @@ -324,12 +324,12 @@ func SkipPrimaryGVKSchemeRegistration(skip bool) Option {
324324// concurrent reconciles that the controller will run.
325325//
326326// The default is 1.
327- func WithMaxConcurrentReconciles (max int ) Option {
327+ func WithMaxConcurrentReconciles (value int ) Option {
328328 return func (r * Reconciler ) error {
329- if max < 1 {
329+ if value < 1 {
330330 return errors .New ("maxConcurrentReconciles must be at least 1" )
331331 }
332- r .maxConcurrentReconciles = max
332+ r .maxConcurrentReconciles = value
333333 return nil
334334 }
335335}
You can’t perform that action at this time.
0 commit comments