@@ -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,
@@ -26,7 +26,6 @@ const ThresholdMonitorTimeout = 5 * time.Second
type PeerServerConfig struct {
Name string
- Path string
Scheme string
URL string
SnapshotCount int
@@ -34,7 +34,6 @@ func RunServer(f func(*server.Server)) {
Name: testName,
- Path: path,
URL: "http://"+testRaftURL,
Scheme: "http",
SnapshotCount: testSnapshotCount,