Skip to content

Commit 1fa9395

Browse files
committed
fpgacont: add missing Apply() to the mock client
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
1 parent 79ae3cf commit 1fa9395

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/fpgacontroller/mocks_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ func (c *mockClient) IsObjectNamespaced(runtime.Object) (bool, error) {
9090
return false, nil
9191
}
9292

93+
func (c *mockClient) Apply(ctx context.Context, obj runtime.ApplyConfiguration, opts ...client.ApplyOption) error {
94+
return nil
95+
}
96+
9397
type mockManager struct {
9498
scheme *runtime.Scheme
9599
log logr.Logger

0 commit comments

Comments
 (0)