Explorar el Código

fix redis cluster info

ls hace 4 años
padre
commit
1e78c7b2d5
Se han modificado 1 ficheros con 1 adiciones y 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()
 }