Przeglądaj źródła

fix redis cluster info

ls 3 lat temu
rodzic
commit
1e78c7b2d5
1 zmienionych plików z 1 dodań i 1 usunięć
  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()
 }