golang 3 лет назад
Родитель
Сommit
e1cd22ae91
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      redis.go

+ 1 - 1
redis.go

@@ -49,7 +49,7 @@ func (i *redisIterator) Key() string {
 }
 
 func (i *redisIterator) Value() []byte {
-	cmd := i.client.Get(i.Key())
+	cmd := i.client.Get(i.key)
 	if cmd.Err() == nil {
 		return []byte(cmd.Val())
 	} else {