forked from mirror/redis
Fix publish command info
This commit is contained in:
parent
346c00d485
commit
e737f3e6dd
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue