mirror of
https://github.com/redis/go-redis.git
synced 2025-08-01 16:06:54 +03:00
Update golangci-lint to v1.32
This commit is contained in:
@ -131,7 +131,7 @@ func ScanSlice(data []string, slice interface{}) error {
|
||||
for i, s := range data {
|
||||
elem := next()
|
||||
if err := Scan([]byte(s), elem.Addr().Interface()); err != nil {
|
||||
err = fmt.Errorf("redis: ScanSlice index=%d value=%q failed: %s", i, s, err)
|
||||
err = fmt.Errorf("redis: ScanSlice index=%d value=%q failed: %w", i, s, err)
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user