1
0

fix: lint

This commit is contained in:
kolaente
2023-12-06 14:01:09 +01:00
parent cca42b9188
commit 6ef1bc3944
3 changed files with 8 additions and 7 deletions

View File

@ -572,7 +572,7 @@ func (s *IncreaseAttachmentCounter) Name() string {
}
// Handle is executed when the event IncreaseAttachmentCounter listens on is fired
func (s *IncreaseAttachmentCounter) Handle(msg *message.Message) (err error) {
func (s *IncreaseAttachmentCounter) Handle(_ *message.Message) (err error) {
return keyvalue.IncrBy(metrics.AttachmentsCountKey, 1)
}
@ -586,7 +586,7 @@ func (s *DecreaseAttachmentCounter) Name() string {
}
// Handle is executed when the event DecreaseAttachmentCounter listens on is fired
func (s *DecreaseAttachmentCounter) Handle(msg *message.Message) (err error) {
func (s *DecreaseAttachmentCounter) Handle(_ *message.Message) (err error) {
return keyvalue.DecrBy(metrics.AttachmentsCountKey, 1)
}