Explorar o código

fix redis cluster info

ls %!s(int64=4) %!d(string=hai) anos
pai
achega
1e78c7b2d5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cache/redis.go

+ 1 - 1
cache/redis.go

@@ -143,7 +143,7 @@ func (c RedisCache) Del(key string) (int64, error) {
 // Info info
 func (c RedisCache) Info() (string, error) {
 	if c.cc != nil {
-		return c.cc.Info().Result()
+		return c.cc.ClusterInfo().Result()
 	}
 	return c.c.Info().Result()
 }