From 68bcc6b58547c93dbcb56775d4f2fb72688ea603 Mon Sep 17 00:00:00 2001 From: Jorge Turrado Date: Wed, 6 Nov 2024 09:28:47 +0100 Subject: [PATCH] . Signed-off-by: Jorge Turrado --- pkg/mock/mock_client/mock_interfaces.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/mock/mock_client/mock_interfaces.go b/pkg/mock/mock_client/mock_interfaces.go index ee5d35578c1..475b7213094 100644 --- a/pkg/mock/mock_client/mock_interfaces.go +++ b/pkg/mock/mock_client/mock_interfaces.go @@ -100,7 +100,7 @@ func (m *MockReader) EXPECT() *MockReaderMockRecorder { } // Get mocks base method. -func (m *MockReader) Get(ctx context.Context, key types.NamespacedName, obj client.Object, opts ...client.GetOption) error { +func (m *MockReader) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { m.ctrl.T.Helper() varargs := []any{ctx, key, obj} for _, a := range opts { @@ -457,7 +457,7 @@ func (mr *MockClientMockRecorder) DeleteAllOf(ctx, obj any, opts ...any) *gomock } // Get mocks base method. -func (m *MockClient) Get(ctx context.Context, key types.NamespacedName, obj client.Object, opts ...client.GetOption) error { +func (m *MockClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { m.ctrl.T.Helper() varargs := []any{ctx, key, obj} for _, a := range opts { @@ -700,7 +700,7 @@ func (mr *MockWithWatchMockRecorder) DeleteAllOf(ctx, obj any, opts ...any) *gom } // Get mocks base method. -func (m *MockWithWatch) Get(ctx context.Context, key types.NamespacedName, obj client.Object, opts ...client.GetOption) error { +func (m *MockWithWatch) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { m.ctrl.T.Helper() varargs := []any{ctx, key, obj} for _, a := range opts {