chore: update golangci-lint to 1.61.0.

This commit is contained in:
Xavier Michelon
2024-10-09 12:40:22 +02:00
parent b481ce2203
commit bee2642aec
15 changed files with 29 additions and 24 deletions

View File

@ -21,6 +21,7 @@ import (
"bytes"
"encoding/base64"
"encoding/json"
"errors"
"fmt"
"io"
"os"
@ -658,7 +659,7 @@ func (s *scenario) imapClientsMoveMessageWithSubjectUserFromToByOrderedOperation
case "EXPUNGE":
expungeErr = sourceClient.Expunge(nil)
default:
return fmt.Errorf("unknown IMAP operation " + op)
return errors.New("unknown IMAP operation " + op)
}
time.Sleep(100 * time.Millisecond)
}