From f161dc65dc79790b75f45ab3784e457faf6375f1 Mon Sep 17 00:00:00 2001 From: Antonio Gamez Diaz Date: Tue, 6 Sep 2022 14:21:40 +0200 Subject: [PATCH] Adapt fn signature to the new controller-runtime version See https://github.com/kubernetes-sigs/controller-runtime/pull/1917 Signed-off-by: Antonio Gamez Diaz --- .../plugins/fluxv2/packages/v1alpha1/test_util_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kubeapps-apis/plugins/fluxv2/packages/v1alpha1/test_util_test.go b/cmd/kubeapps-apis/plugins/fluxv2/packages/v1alpha1/test_util_test.go index a6742a179f5..a92877f9ca6 100644 --- a/cmd/kubeapps-apis/plugins/fluxv2/packages/v1alpha1/test_util_test.go +++ b/cmd/kubeapps-apis/plugins/fluxv2/packages/v1alpha1/test_util_test.go @@ -46,7 +46,7 @@ func (w *withWatchWrapper) Create(ctx context.Context, obj client.Object, opts . return w.delegate.Create(ctx, obj, opts...) } -func (w *withWatchWrapper) Get(ctx context.Context, key client.ObjectKey, obj client.Object) error { +func (w *withWatchWrapper) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { return w.delegate.Get(ctx, key, obj) }