This commit is contained in:
Seth Vargo 2017-03-23 17:48:45 -04:00
parent 592de89191
commit 1dc1f72fb6
No known key found for this signature in database
GPG Key ID: C921994F9C27E0FF
1 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,9 @@ type TestPortConfig struct {
SerfLan int `json:"serf_lan,omitempty"`
SerfWan int `json:"serf_wan,omitempty"`
Server int `json:"server,omitempty"`
// Deprecated
RPC int `json:"rpc,omitempty"`
}
// TestAddressConfig contains the bind addresses for various
@ -96,6 +99,7 @@ func defaultServerConfig() *TestServerConfig {
SerfLan: randomPort(),
SerfWan: randomPort(),
Server: randomPort(),
RPC: randomPort(),
},
}
}