Skip to content

Commit eade34d

Browse files
committed
fix UT
1 parent 7163020 commit eade34d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cns/multitenantcontroller/multitenantoperator/multitenantcrdreconciler_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ import (
1515
apierrors "k8s.io/apimachinery/pkg/api/errors"
1616
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1717
"k8s.io/apimachinery/pkg/types"
18+
"k8s.io/apimachinery/pkg/runtime"
1819
"sigs.k8s.io/controller-runtime/pkg/client"
1920
"sigs.k8s.io/controller-runtime/pkg/reconcile"
2021
)
2122

2223
type clientWithApply struct{ *mockclients.MockClient }
2324

2425
// Satisfy controller-runtime v0.22.1 Writer.Apply:
25-
func (c clientWithApply) Apply(ctx context.Context, ac runtime.ApplyConfiguration, opts ...ctrlclient.ApplyOption) error {
26+
func (c clientWithApply) Apply(ctx context.Context, ac runtime.ApplyConfiguration, opts ...client.ApplyOption) error {
2627
return nil // not used in these tests
2728
}
2829

0 commit comments

Comments
 (0)