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

Commit 7ef494e

Browse files
committed
Fix unused-parameter revive linting error
Use placeholder for context as we are not yet using it for the intended purpose.
1 parent d630394 commit 7ef494e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/brick/message.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ func sendEmail(
587587
// FIXME: This function both logs *and* returns the error, which is
588588
// duplication that will require fixing at some point. Leaving both in for
589589
// the time being until this code proves stable.
590-
send := func(ctx context.Context, emailCfg emailConfig, emailMsg string, myFuncName string) error {
590+
send := func(_ context.Context, emailCfg emailConfig, emailMsg string, myFuncName string) error {
591591

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

0 commit comments

Comments
 (0)