transport: build TLS config in NewTransport

This commit is contained in:
Brian Waldon
2014-09-23 08:58:21 -07:00
parent e880dd41f2
commit 342ea18239
2 changed files with 11 additions and 2 deletions

View File

@ -151,7 +151,7 @@ func startEtcd() {
n = raft.RestartNode(id, peers.IDs(), 10, 1, snapshot, st, ents)
}
pt, err := transport.NewTransport()
pt, err := transport.NewTransport(transport.TLSInfo{})
if err != nil {
log.Fatal(err)
}