mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Fix publish command info
This commit is contained in:
@ -91,6 +91,8 @@ func cmdFirstKeyPos(cmd Cmder, info *CommandInfo) int {
|
||||
} else {
|
||||
return -1
|
||||
}
|
||||
case "publish":
|
||||
return 1
|
||||
}
|
||||
if info == nil {
|
||||
internal.Logf("info for cmd=%s not found", cmd.name())
|
||||
|
Reference in New Issue
Block a user