mirror of https://github.com/ledisdb/ledisdb.git
set args must be 2
This commit is contained in:
parent
655db07604
commit
5a902fc9d1
|
@ -20,7 +20,7 @@ func getCommand(c *client) error {
|
|||
|
||||
func setCommand(c *client) error {
|
||||
args := c.args
|
||||
if len(args) < 2 {
|
||||
if len(args) != 2 {
|
||||
return ErrCmdParams
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue