swarm: bootnode-mode, new bootnodes and no p2p package discovery (#18498)
(cherry picked from commit bbd120354a
)
This commit is contained in:
committed by
Rafael Matias
parent
878aa58ec6
commit
4976fcc91a
@ -35,6 +35,8 @@ var endpoint string
|
||||
func generateEndpoint(scheme string, cluster string, app string, from int) {
|
||||
if cluster == "prod" {
|
||||
endpoint = fmt.Sprintf("%s://%v.swarm-gateways.net", scheme, from)
|
||||
} else if cluster == "private-internal" {
|
||||
endpoint = fmt.Sprintf("%s://swarm-private-internal-%v:8500", scheme, from)
|
||||
} else {
|
||||
endpoint = fmt.Sprintf("%s://%s-%v-%s.stg.swarm-gateways.net", scheme, app, from, cluster)
|
||||
}
|
||||
|
Reference in New Issue
Block a user