Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #497 from atc0005/fix-unused-parameter-revive-lint…
Browse files Browse the repository at this point in the history
…ing-error

Fix `unused-parameter` revive linting error
  • Loading branch information
atc0005 authored Feb 14, 2024
2 parents dbdec10 + 2dfffb9 commit b5f3b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/brick/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ func sendEmail(
// FIXME: This function both logs *and* returns the error, which is
// duplication that will require fixing at some point. Leaving both in for
// the time being until this code proves stable.
send := func(ctx context.Context, emailCfg emailConfig, emailMsg string, myFuncName string) error {
send := func(_ context.Context, emailCfg emailConfig, emailMsg string, myFuncName string) error {

// Connect to the remote SMTP server.
c, dialErr := smtp.Dial(smtpServer)
Expand Down

0 comments on commit b5f3b5b

Please sign in to comment.