Skip to content

Commit

Permalink
Lint promtail
Browse files Browse the repository at this point in the history
  • Loading branch information
paul1r committed Nov 27, 2024
1 parent 3b2b82e commit 93ae332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/pkg/promtail/targets/kafka/authentication.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

func createTLSConfig(cfg promconfig.TLSConfig) (*tls.Config, error) {
tc := &tls.Config{
InsecureSkipVerify: cfg.InsecureSkipVerify, //#nosec G402 -- User has explicitly requested to disable TLS
InsecureSkipVerify: cfg.InsecureSkipVerify, //#nosec G402 -- User has explicitly requested to disable TLS
ServerName: cfg.ServerName,
}
// load ca cert
Expand Down

0 comments on commit 93ae332

Please sign in to comment.