Sfoglia il codice sorgente

fix redis cluster info

ls 3 anni fa
parent
commit
1e78c7b2d5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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()
 }