mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-24 14:44:42 +08:00
HGetAll bugfix
This commit is contained in:
@@ -662,7 +662,7 @@ func (slf *RedisModule) GetAllHashJSON(redisKey string) (map[string]string, erro
|
|||||||
}
|
}
|
||||||
defer conn.Close()
|
defer conn.Close()
|
||||||
|
|
||||||
value, err := redis.Values(conn.Do("HGETALL", redisKey))
|
value, err := conn.Do("HGETALL", redisKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
service.GetLogger().Printf(service.LEVER_ERROR, "GetAllHashJSON fail,reason:%v", err)
|
service.GetLogger().Printf(service.LEVER_ERROR, "GetAllHashJSON fail,reason:%v", err)
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|||||||
Reference in New Issue
Block a user