From b59e5fe561295c5320760b16cbe2d2cccd2952b7 Mon Sep 17 00:00:00 2001 From: Venkata Krishna Rohit Sakala Date: Thu, 25 Feb 2021 20:07:21 +0530 Subject: [PATCH] Update NewCallQueue func Use client.Object instead of runtime.Object to sync with new controller-runtime --- testing/testhelper/fake_client_call_queue.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testing/testhelper/fake_client_call_queue.go b/testing/testhelper/fake_client_call_queue.go index 2e9e07d..fb1a1a9 100644 --- a/testing/testhelper/fake_client_call_queue.go +++ b/testing/testhelper/fake_client_call_queue.go @@ -3,11 +3,10 @@ package testhelper import ( "context" - "k8s.io/apimachinery/pkg/runtime" crc "sigs.k8s.io/controller-runtime/pkg/client" ) -type expectFunc func(context.Context, runtime.Object) error +type expectFunc func(context.Context, crc.Object) error // CallQueue represents a list of expected function calls type CallQueue struct {