mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 08:38:45 +05:00
Added tests for Redis cluster.Fixes #2207
This commit is contained in:
committed by
Dan Christian Bogos
parent
c1a96d21a4
commit
eab8b248a4
@@ -69,9 +69,7 @@ const (
|
||||
func NewRedisStorage(address string, db int, user, pass, mrshlerStr string,
|
||||
maxConns int, sentinelName string, isCluster bool, clusterSync,
|
||||
clusterOnDownDelay time.Duration) (rs *RedisStorage, err error) {
|
||||
|
||||
rs = new(RedisStorage)
|
||||
|
||||
if rs.ms, err = NewMarshaler(mrshlerStr); err != nil {
|
||||
rs = nil
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user