mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
golint warnings are removed
This commit is contained in:
@ -81,9 +81,9 @@ func cmdFirstKeyPos(cmd Cmder, info *CommandInfo) int {
|
||||
case "eval", "evalsha":
|
||||
if cmd.stringArg(2) != "0" {
|
||||
return 3
|
||||
} else {
|
||||
return 0
|
||||
}
|
||||
|
||||
return 0
|
||||
case "publish":
|
||||
return 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user