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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user