1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-25 08:21:55 +03:00

Merge pull request #439 from rayzyar/evalShaFirstKey

evalsha with 0 key should return -1 pos
This commit is contained in:
Vladimir Mihailenco
2016-12-09 15:50:34 +02:00
committed by GitHub

View File

@ -95,7 +95,7 @@ func cmdFirstKeyPos(cmd Cmder, info *CommandInfo) int {
if cmd.arg(2) != "0" {
return 3
} else {
return 0
return -1
}
}
if info == nil {