Other: Update golangci-lint to v1.50.0

This commit is contained in:
Leander Beernaert
2022-10-17 11:02:56 +02:00
parent e0603f741f
commit 9d800324af
70 changed files with 247 additions and 277 deletions

View File

@ -23,7 +23,6 @@ import (
"context"
"errors"
"io"
"io/ioutil"
"os"
"path/filepath"
"sort"
@ -33,7 +32,7 @@ import (
)
const (
MaxAttachmentSize = 7 * 1024 * 1024 // 7 MB total limit
MaxAttachmentSize = 7 * 1024 * 1024 // MaxAttachmentSize 7 MB total limit
MaxCompressedFilesCount = 6
)
@ -106,7 +105,7 @@ func (b *Bridge) getMatchingLogs(filenameMatchFunc func(string) bool) (filenames
return nil, err
}
files, err := ioutil.ReadDir(logsPath)
files, err := os.ReadDir(logsPath)
if err != nil {
return nil, err
}