From fed43ac9a37274a206b09b2ea0f588a5f08165bc Mon Sep 17 00:00:00 2001 From: Dimitri Koshkin Date: Wed, 18 Dec 2024 09:16:24 -0800 Subject: [PATCH] fixup! fix: external.Get signature change --- pkg/controllers/namespacesync/references.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controllers/namespacesync/references.go b/pkg/controllers/namespacesync/references.go index 0ad5bf4c1..bd37d7b44 100644 --- a/pkg/controllers/namespacesync/references.go +++ b/pkg/controllers/namespacesync/references.go @@ -43,7 +43,7 @@ func getReference( return nil, errors.New("reference is not set") } - obj, err := external.Get(ctx, cli, ref, ref.Namespace) + obj, err := external.Get(ctx, cli, ref) if err != nil { return nil, errors.Wrapf(err, "failed to get %s %s/%s", ref.Kind, ref.Name, ref.Namespace) }