From fcec4b0e5cb4df61ce1f680ae52c05a63c60b63f Mon Sep 17 00:00:00 2001 From: hlts2 Date: Fri, 16 Jun 2023 17:42:46 +0900 Subject: [PATCH] fix build error Signed-off-by: hlts2 --- internal/k8s/vald/mirror/target/target.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/k8s/vald/mirror/target/target.go b/internal/k8s/vald/mirror/target/target.go index a8302f91c1..9f7e9d2dcd 100644 --- a/internal/k8s/vald/mirror/target/target.go +++ b/internal/k8s/vald/mirror/target/target.go @@ -15,7 +15,6 @@ import ( "sigs.k8s.io/controller-runtime/pkg/handler" "sigs.k8s.io/controller-runtime/pkg/manager" "sigs.k8s.io/controller-runtime/pkg/reconcile" - "sigs.k8s.io/controller-runtime/pkg/source" ) type ( @@ -125,6 +124,6 @@ func (r *reconciler) Owns() (client.Object, []builder.OwnsOption) { return nil, nil } -func (r *reconciler) Watches() (*source.Kind, handler.EventHandler, []builder.WatchesOption) { +func (r *reconciler) Watches() (client.Object, handler.EventHandler, []builder.WatchesOption) { return nil, nil, nil }