oops. DefaultTransport being used.

This commit is contained in:
artushin 2015-02-12 10:11:22 -06:00
parent 5ec92971ac
commit 2ae843d51c
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ func (c *CheckHTTP) run() {
c.check()
next = time.After(c.Interval)
case <-c.stopCh:
c.httpClient.Transport.(*http.Transport).CloseIdleConnections()
http.DefaultTransport.(*http.Transport).CloseIdleConnections()
return
}
}