From 36a174bc5dc6b2266db6d97defcfe13ea6264fc5 Mon Sep 17 00:00:00 2001 From: MenD32 Date: Wed, 4 Sep 2024 17:11:20 +0300 Subject: [PATCH] debugging Signed-off-by: MenD32 --- controllers/eventsource/resource.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/controllers/eventsource/resource.go b/controllers/eventsource/resource.go index 7678706aff..8a328fea16 100644 --- a/controllers/eventsource/resource.go +++ b/controllers/eventsource/resource.go @@ -401,12 +401,6 @@ func buildService(args *AdaptorArgs) (*corev1.Service, error) { svc.ObjectMeta.SetAnnotations(args.EventSource.Spec.Service.Metadata.Annotations) svc.ObjectMeta.SetLabels(args.EventSource.Spec.Service.Metadata.Labels) - // if args.EventSource.Spec.Service.Metadata != nil { - // if args.EventSource.Spec.Service.Metadata.Labels != nil { - // } - // if args.EventSource.Spec.Service.Metadata.Annotations != nil { - // } - // } if err := controllerscommon.SetObjectMeta(eventSource, svc, v1alpha1.SchemaGroupVersionKind); err != nil { return nil, err