From de6d13a07262cc71d24013d6c62167ece1713a2e Mon Sep 17 00:00:00 2001 From: dmachard <5562930+dmachard@users.noreply.github.com> Date: Thu, 2 Nov 2023 15:46:43 +0100 Subject: [PATCH] fix linter --- loggers/scalyr.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/loggers/scalyr.go b/loggers/scalyr.go index fb46da3b..2a7d97b5 100644 --- a/loggers/scalyr.go +++ b/loggers/scalyr.go @@ -110,11 +110,6 @@ func (c *ScalyrClient) ReadConfig() { c.flush = time.NewTicker(time.Duration(flushInterval) * time.Second) } - tlsMinVersion := "TLS_v12" - if dnsutils.IsValidTLS(tlsMinVersion) { - tlsMinVersion = c.config.Loggers.ScalyrClient.TlsMinVersion - } - // tls client config tlsOptions := dnsutils.TlsOptions{ InsecureSkipVerify: c.config.Loggers.ScalyrClient.TlsInsecure,