File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,8 @@ var _ = Describe("Zap logger setup", func() {
209209 })
210210
211211 It ("should log a standard non-namespaced NamespacedName name" , func () {
212+ Skip ("Skipping until we bumped k/k to v0.27.2" )
213+
212214 name := types.NamespacedName {Name : "some-node" }
213215 logger .Info ("here's a kubernetes object" , "thing" , name )
214216
@@ -243,6 +245,8 @@ var _ = Describe("Zap logger setup", func() {
243245 })
244246
245247 It ("should log a standard namespaced NamespacedName name and namespace" , func () {
248+ Skip ("Skipping until we bumped k/k to v0.27.2" )
249+
246250 name := types.NamespacedName {Name : "some-pod" , Namespace : "some-ns" }
247251 logger .Info ("here's a kubernetes object" , "thing" , name )
248252
Original file line number Diff line number Diff line change @@ -458,22 +458,22 @@ func (cm *controllerManager) Start(ctx context.Context) (err error) {
458458 // between conversion webhooks and the cache sync (usually initial list) which causes the webhooks
459459 // to never start because no cache can be populated.
460460 if err := cm .runnables .Webhooks .Start (cm .internalCtx ); err != nil {
461- if ! errors . Is ( err , context . Canceled ) {
462- return err
461+ if err != nil {
462+ return fmt . Errorf ( "failed to start webhooks: %w" , err )
463463 }
464464 }
465465
466466 // Start and wait for caches.
467467 if err := cm .runnables .Caches .Start (cm .internalCtx ); err != nil {
468- if ! errors . Is ( err , context . Canceled ) {
469- return err
468+ if err != nil {
469+ return fmt . Errorf ( "failed to start caches: %w" , err )
470470 }
471471 }
472472
473473 // Start the non-leaderelection Runnables after the cache has synced.
474474 if err := cm .runnables .Others .Start (cm .internalCtx ); err != nil {
475- if ! errors . Is ( err , context . Canceled ) {
476- return err
475+ if err != nil {
476+ return fmt . Errorf ( "failed to start other runnables: %w" , err )
477477 }
478478 }
479479
You can’t perform that action at this time.
0 commit comments