Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aldy505 committed Nov 17, 2024
1 parent edb9f7e commit 1315d27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/vroom/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ func extractMetricsFromSampleChunkFunctions(c *chunk.SampleChunk, functions []no
}

func createKafkaRoundTripper(e ServiceConfig) kafka.RoundTripper {
var saslMechanism sasl.Mechanism = nil
var tlsConfig *tls.Config = nil
var saslMechanism sasl.Mechanism
var tlsConfig *tls.Config

switch strings.ToUpper(e.KafkaSaslMechanism) {
case "PLAIN":
Expand Down

0 comments on commit 1315d27

Please sign in to comment.