From 14baf2d3cf2d3b79c2b2d5564d56753688dd3d0d Mon Sep 17 00:00:00 2001 From: Marcin Owsiany Date: Mon, 18 Mar 2024 14:28:43 +0100 Subject: [PATCH 1/2] Tiny comment fix. --- pkg/cache/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cache/cache.go b/pkg/cache/cache.go index 1cecf88e5e..3feddc7ac4 100644 --- a/pkg/cache/cache.go +++ b/pkg/cache/cache.go @@ -221,7 +221,7 @@ type Options struct { DefaultUnsafeDisableDeepCopy *bool // ByObject restricts the cache's ListWatch to the desired fields per GVK at the specified object. - // object, this will fall through to Default* settings. + // If unset, this will fall through to Default* settings. ByObject map[client.Object]ByObject // newInformer allows overriding of NewSharedIndexInformer for testing. From 5b3b6953b7096c09a386bd22a363524a8c2b217a Mon Sep 17 00:00:00 2001 From: Marcin Owsiany Date: Mon, 18 Mar 2024 19:22:18 +0100 Subject: [PATCH 2/2] Update pkg/cache/cache.go Co-authored-by: Alvaro Aleman --- pkg/cache/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cache/cache.go b/pkg/cache/cache.go index 3feddc7ac4..33804d4e7f 100644 --- a/pkg/cache/cache.go +++ b/pkg/cache/cache.go @@ -221,7 +221,7 @@ type Options struct { DefaultUnsafeDisableDeepCopy *bool // ByObject restricts the cache's ListWatch to the desired fields per GVK at the specified object. - // If unset, this will fall through to Default* settings. + // If unset, this will fall through to the Default* settings. ByObject map[client.Object]ByObject // newInformer allows overriding of NewSharedIndexInformer for testing.