Browse Source

refactor(peerserver): Remove PeerServerConfig.Path

Brian Waldon 12 years ago
parent
commit
f158dfcd77
3 changed files with 0 additions and 3 deletions
  1. 0 1
      etcd.go
  2. 0 1
      server/peer_server.go
  3. 0 1
      tests/server_utils.go

+ 0 - 1
etcd.go

@@ -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,

+ 0 - 1
server/peer_server.go

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

+ 0 - 1
tests/server_utils.go

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