Skip to content

Commit

Permalink
Fixing lint
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Ulbrich <[email protected]>
  • Loading branch information
robert-ulbrich-mercedes-benz committed Jul 5, 2024
1 parent a740c8e commit 4be6a0e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ func NewSMTPEmailer(ctx context.Context, config runtimeInterfaces.NotificationsC

auth := smtp.PlainAuth("", emailConf.SMTPUsername, smtpPassword, emailConf.SMTPServer)

tlsConfiguration = &tls.Config{ // #nosec G402
InsecureSkipVerify: emailConf.SMTPSkipTLSVerify,
tlsConfiguration = &tls.Config{
InsecureSkipVerify: emailConf.SMTPSkipTLSVerify, // #nosec G402
ServerName: emailConf.SMTPServer,
}

Expand Down

0 comments on commit 4be6a0e

Please sign in to comment.