Browse Source

fix redis cluster info

ls 3 years ago
parent
commit
1e78c7b2d5
1 changed files with 1 additions and 1 deletions
  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()
 }