Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard committed Nov 2, 2023
1 parent 3516fba commit de6d13a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions loggers/scalyr.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit de6d13a

Please sign in to comment.