diff options
author | Anton Evangelatov <anton.evangelatov@gmail.com> | 2019-01-24 19:02:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-24 19:02:18 +0800 |
commit | bbd120354a8d226b446591eeda9f9462cb9b690a (patch) | |
tree | 8f629afad522e9ce44770625d49c249b7a9b4a19 /cmd/swarm/swarm-smoke/upload_speed.go | |
parent | ecb781297bfc891f4ff26bdf3fda362744bbb3e3 (diff) | |
download | go-tangerine-bbd120354a8d226b446591eeda9f9462cb9b690a.tar go-tangerine-bbd120354a8d226b446591eeda9f9462cb9b690a.tar.gz go-tangerine-bbd120354a8d226b446591eeda9f9462cb9b690a.tar.bz2 go-tangerine-bbd120354a8d226b446591eeda9f9462cb9b690a.tar.lz go-tangerine-bbd120354a8d226b446591eeda9f9462cb9b690a.tar.xz go-tangerine-bbd120354a8d226b446591eeda9f9462cb9b690a.tar.zst go-tangerine-bbd120354a8d226b446591eeda9f9462cb9b690a.zip |
swarm: bootnode-mode, new bootnodes and no p2p package discovery (#18498)
Diffstat (limited to 'cmd/swarm/swarm-smoke/upload_speed.go')
-rw-r--r-- | cmd/swarm/swarm-smoke/upload_speed.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/swarm/swarm-smoke/upload_speed.go b/cmd/swarm/swarm-smoke/upload_speed.go index d55b5fe8e..4a355baf8 100644 --- a/cmd/swarm/swarm-smoke/upload_speed.go +++ b/cmd/swarm/swarm-smoke/upload_speed.go @@ -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) } |