fixed a typo

This commit is contained in:
Aliaksandr Valialkin
2016-01-11 15:38:30 +02:00
parent bdd5902714
commit 4a3c401fd8
+1 -1
View File
@@ -392,7 +392,7 @@ func benchmarkNetHTTPClientGetEndToEndInmemory(b *testing.B, parallelism int) {
c := &http.Client{
Transport: &http.Transport{
Dial: func(_, _ string) { return ln.Dial() },
Dial: func(_, _ string) (net.Conn, error) { return ln.Dial() },
MaxIdleConnsPerHost: parallelism * runtime.GOMAXPROCS(-1),
},
}