From 7ef494ebbf7c13022bcd2b3ab08096dc894350f2 Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Wed, 14 Feb 2024 07:22:47 -0600 Subject: [PATCH] Fix `unused-parameter` revive linting error Use placeholder for context as we are not yet using it for the intended purpose. --- cmd/brick/message.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/brick/message.go b/cmd/brick/message.go index 54842a67..c30ed3f9 100644 --- a/cmd/brick/message.go +++ b/cmd/brick/message.go @@ -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)