refactor(peerserver): Remove PeerServerConfig.Path

This commit is contained in:
Brian Waldon 2014-01-20 20:22:29 -08:00
parent 19980a7033
commit f158dfcd77
3 changed files with 0 additions and 3 deletions

View File

@ -125,7 +125,6 @@ func main() {
// Create peer server.
psConfig := server.PeerServerConfig{
Name: info.Name,
Path: config.DataDir,
Scheme: peerTLSConfig.Scheme,
URL: info.RaftURL,
SnapshotCount: config.SnapshotCount,

View File

@ -26,7 +26,6 @@ const ThresholdMonitorTimeout = 5 * time.Second
type PeerServerConfig struct {
Name string
Path string
Scheme string
URL string
SnapshotCount int

View File

@ -34,7 +34,6 @@ func RunServer(f func(*server.Server)) {
psConfig := server.PeerServerConfig{
Name: testName,
Path: path,
URL: "http://"+testRaftURL,
Scheme: "http",
SnapshotCount: testSnapshotCount,