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

Fix unused-parameter revive linting error #496

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading