Преглед изворни кода

Merge pull request #6104 from gyuho/typo

pkg/transport: fix minor typo
Gyu-Ho Lee пре 9 година
родитељ
комит
7ed8a133d2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      pkg/transport/timeout_transport.go

+ 1 - 1
pkg/transport/timeout_transport.go

@@ -35,7 +35,7 @@ func NewTimeoutTransport(info TLSInfo, dialtimeoutd, rdtimeoutd, wtimeoutd time.
 		// it should not be put back to http transport as an idle connection for future usage.
 		// it should not be put back to http transport as an idle connection for future usage.
 		tr.MaxIdleConnsPerHost = -1
 		tr.MaxIdleConnsPerHost = -1
 	} else {
 	} else {
-		// allow more idle connections between peers to avoid unncessary port allocation.
+		// allow more idle connections between peers to avoid unnecessary port allocation.
 		tr.MaxIdleConnsPerHost = 1024
 		tr.MaxIdleConnsPerHost = 1024
 	}
 	}