Skip to content

Commit

Permalink
appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
bbengfort committed Nov 18, 2024
1 parent 77e0add commit a629eec
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/emails/emails.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package emails
import (
"context"
"errors"
"net/smtp"
"time"

"github.com/cenkalti/backoff/v4"
Expand All @@ -19,7 +18,6 @@ import (
var (
initialized bool
config Config
auth smtp.Auth
pool *email.Pool
sg *sendgrid.Client
)
Expand All @@ -43,7 +41,6 @@ func Configure(conf Config) (err error) {
// TODO: if in testing mode create a mock for sending emails.

if conf.SMTP.Enabled() {
auth = conf.SMTP.Auth()
if pool, err = conf.SMTP.Pool(); err != nil {
return err
}
Expand Down

0 comments on commit a629eec

Please sign in to comment.