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