mirror of https://github.com/status-im/consul.git
Add RPC
This commit is contained in:
parent
592de89191
commit
1dc1f72fb6
|
@ -41,6 +41,9 @@ type TestPortConfig struct {
|
||||||
SerfLan int `json:"serf_lan,omitempty"`
|
SerfLan int `json:"serf_lan,omitempty"`
|
||||||
SerfWan int `json:"serf_wan,omitempty"`
|
SerfWan int `json:"serf_wan,omitempty"`
|
||||||
Server int `json:"server,omitempty"`
|
Server int `json:"server,omitempty"`
|
||||||
|
|
||||||
|
// Deprecated
|
||||||
|
RPC int `json:"rpc,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestAddressConfig contains the bind addresses for various
|
// TestAddressConfig contains the bind addresses for various
|
||||||
|
@ -96,6 +99,7 @@ func defaultServerConfig() *TestServerConfig {
|
||||||
SerfLan: randomPort(),
|
SerfLan: randomPort(),
|
||||||
SerfWan: randomPort(),
|
SerfWan: randomPort(),
|
||||||
Server: randomPort(),
|
Server: randomPort(),
|
||||||
|
RPC: randomPort(),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue