mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 14:09:41 -08:00
Fix typo in comment.
Change-Id: Ib3ee493bb29e7e9967214627e543baedb897ab67
This commit is contained in:
parent
74c143c4c9
commit
371445f4da
|
@ -24,7 +24,7 @@ import (
|
||||||
func NewDeadlineClient(timeout time.Duration) *http.Client {
|
func NewDeadlineClient(timeout time.Duration) *http.Client {
|
||||||
return &http.Client{
|
return &http.Client{
|
||||||
Transport: &http.Transport{
|
Transport: &http.Transport{
|
||||||
// We need to disable keepalive, becasue we set a deadline on the
|
// We need to disable keepalive, because we set a deadline on the
|
||||||
// underlying connection.
|
// underlying connection.
|
||||||
DisableKeepAlives: true,
|
DisableKeepAlives: true,
|
||||||
Dial: func(netw, addr string) (c net.Conn, err error) {
|
Dial: func(netw, addr string) (c net.Conn, err error) {
|
||||||
|
|
Loading…
Reference in a new issue