Skip to content

Commit

Permalink
configs: cleanup dead ip config no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
Raynos committed Apr 5, 2017
1 parent be5f521 commit 9c5390c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion benchmarks/runner/main.go
Expand Up @@ -87,7 +87,6 @@ func spawnGateway(dirName string) *exec.Cmd {
}

config := map[string]interface{}{
"ip": "127.0.0.1",
"port": 8093,
"tchannel.serviceName": "bench-gateway",
"tchannel.processName": "bench-gateway",
Expand Down
3 changes: 1 addition & 2 deletions config/production.json
@@ -1,6 +1,5 @@
{
"serviceName": "my-gateway",
"ip": "127.0.0.1",
"port": 4000,
"env": "production",

Expand All @@ -17,4 +16,4 @@

"tchannel.serviceName": "my-gateway",
"tchannel.processName": "my-gateway"
}
}
3 changes: 1 addition & 2 deletions examples/example-gateway/build/zanzibar-defaults.json
@@ -1,6 +1,5 @@
{
"serviceName": "my-gateway",
"ip": "127.0.0.1",
"port": 4000,
"env": "production",

Expand All @@ -17,4 +16,4 @@

"tchannel.serviceName": "my-gateway",
"tchannel.processName": "my-gateway"
}
}
1 change: 0 additions & 1 deletion test/lib/test_gateway/test_gateway.go
Expand Up @@ -141,7 +141,6 @@ func CreateGateway(
config["port"] = 0
}

config["ip"] = "127.0.0.1"
config["tchannel.serviceName"] = "test-gateway"
config["tchannel.processName"] = "test-gateway"
config["metrics.m3.hostPort"] = testGateway.m3Server.Addr
Expand Down

0 comments on commit 9c5390c

Please sign in to comment.