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

Commit

Permalink
Fix unused-parameter revive linting error
Browse files Browse the repository at this point in the history
Use placeholder for context as we are not yet using it
for the intended purpose.
  • Loading branch information
atc0005 committed Feb 14, 2024
1 parent dbdec10 commit 2dfffb9
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 2dfffb9

Please sign in to comment.