Update config name and description message

This commit is contained in:
TeoV
2020-10-16 10:49:41 +03:00
committed by Dan Christian Bogos
parent 2abaabbcbf
commit 8552ffb805
7 changed files with 5 additions and 5 deletions

View File

@@ -67,7 +67,7 @@ var (
clsrRPC *rpc.Client
clsrNodeCfgPath = path.Join(*dataDir, "redis_cluster", "node%v.conf")
clsrEngineCfgPath = path.Join(*dataDir, "conf", "samples", "tutredis_cluster")
clsrEngineCfgPath = path.Join(*dataDir, "conf", "samples", "redis_cluster")
clsrNodes = make(map[string]*exec.Cmd)
clsrOutput = make(map[string]*bytes.Buffer) // in order to debug if something is not working
clsrNoNodes = 6 // this is the minimum number of nodes for a cluster with 1 replica for each master

View File

@@ -40,7 +40,7 @@ var (
node2ConfigPath = path.Join(*dataDir, "redis_sentinel", "node2.conf")
sentinel1ConfigPath = path.Join(*dataDir, "redis_sentinel", "sentinel1.conf")
sentinel2ConfigPath = path.Join(*dataDir, "redis_sentinel", "sentinel2.conf")
engineConfigPath = path.Join(*dataDir, "conf", "samples", "tutsentinel")
engineConfigPath = path.Join(*dataDir, "conf", "samples", "redis_sentinel")
sentinelConfig *config.CGRConfig
sentinelRPC *rpc.Client
node1Exec *exec.Cmd