mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-04 06:23:09 +00:00
Fixes validation for not deploying codex nodes
This commit is contained in:
parent
46ab3b31ca
commit
55811b20da
@ -144,8 +144,11 @@ namespace CodexNetDeployer
|
||||
|
||||
if (IsPublicTestNet)
|
||||
{
|
||||
if (PublicDiscPorts.Split(",").Length != NumberOfCodexNodes) errors.Add("Number of public discovery-ports provided does not match number of codex nodes.");
|
||||
if (PublicListenPorts.Split(",").Length != NumberOfCodexNodes) errors.Add("Number of public listen-ports provided does not match number of codex nodes.");
|
||||
if (NumberOfCodexNodes > 0)
|
||||
{
|
||||
if (PublicDiscPorts.Split(",").Length != NumberOfCodexNodes) errors.Add("Number of public discovery-ports provided does not match number of codex nodes.");
|
||||
if (PublicListenPorts.Split(",").Length != NumberOfCodexNodes) errors.Add("Number of public listen-ports provided does not match number of codex nodes.");
|
||||
}
|
||||
if (PublicGethDiscPort == 0) errors.Add("Geth public discovery port is not set.");
|
||||
if (PublicGethListenPort == 0) errors.Add("Geth public listen port is not set.");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user