1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +03:00

Update golangci-lint to v1.32

This commit is contained in:
Mitsuo Heijo
2020-11-17 23:08:15 +09:00
parent d4f01eda28
commit f5a1707d3c
7 changed files with 9 additions and 15 deletions

View File

@ -271,7 +271,7 @@ func setupUnixConn(u *url.URL) (*Options, error) {
db, err := strconv.Atoi(dbStr)
if err != nil {
return nil, fmt.Errorf("redis: invalid database number: %s", err)
return nil, fmt.Errorf("redis: invalid database number: %w", err)
}
o.DB = db