From 0631a8d5ff5c743de20ce8800f717d4a3797ed82 Mon Sep 17 00:00:00 2001 From: kchiranjewee63 Date: Fri, 19 Jul 2024 17:15:37 -0400 Subject: [PATCH] Fix linting issues --- service/webhook/pkg/util/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/webhook/pkg/util/util.go b/service/webhook/pkg/util/util.go index c1b19a8..7820355 100644 --- a/service/webhook/pkg/util/util.go +++ b/service/webhook/pkg/util/util.go @@ -38,7 +38,7 @@ func CreatePodPatch(pod *corev1.Pod, injectInitContainer bool, agentHttpsApiPort if injectInitContainer { var portOk bool - + servicePort, portOk = pod.Annotations["tratteria/service-port"] if !portOk {