forked from mirror/redis
Fix Del command case.
This commit is contained in:
parent
4d018d831e
commit
65a64fe7aa
|
@ -82,7 +82,7 @@ func (c *statefulCmdable) Select(index int) *StatusCmd {
|
||||||
|
|
||||||
func (c *cmdable) Del(keys ...string) *IntCmd {
|
func (c *cmdable) Del(keys ...string) *IntCmd {
|
||||||
args := make([]interface{}, 1+len(keys))
|
args := make([]interface{}, 1+len(keys))
|
||||||
args[0] = "DEL"
|
args[0] = "del"
|
||||||
for i, key := range keys {
|
for i, key := range keys {
|
||||||
args[1+i] = key
|
args[1+i] = key
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue