Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Update NewCallQueue func
Browse files Browse the repository at this point in the history
Use client.Object instead of runtime.Object to sync with new controller-runtime
  • Loading branch information
rohitsakala committed Feb 25, 2021
1 parent cdb8a5e commit b59e5fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions testing/testhelper/fake_client_call_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b59e5fe

Please sign in to comment.