mirror of https://github.com/hashicorp/consul
oops. DefaultTransport being used.
parent
5ec92971ac
commit
2ae843d51c
|
@ -325,7 +325,7 @@ func (c *CheckHTTP) run() {
|
||||||
c.check()
|
c.check()
|
||||||
next = time.After(c.Interval)
|
next = time.After(c.Interval)
|
||||||
case <-c.stopCh:
|
case <-c.stopCh:
|
||||||
c.httpClient.Transport.(*http.Transport).CloseIdleConnections()
|
http.DefaultTransport.(*http.Transport).CloseIdleConnections()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue