Skip to content

Commit

Permalink
Remove nolint
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimedrolity committed Dec 1, 2022
1 parent efe2e89 commit 26d9f3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion notifier/senders/msteams/msteams.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ func NewSender(senderSettings map[string]string, logger moira.Logger, location *
return nil, fmt.Errorf("max_events should be an integer: %w", err)
}
sender.maxEvents = maxEvents
const timeout = time.Duration(30) * time.Second
sender.client = &http.Client{
Timeout: time.Duration(30) * time.Second, //nolint
Timeout: timeout,
}

return sender, nil
Expand Down

0 comments on commit 26d9f3d

Please sign in to comment.