From 2ae843d51c55802c0ac9f7337e6c6ec6d862e432 Mon Sep 17 00:00:00 2001 From: artushin Date: Thu, 12 Feb 2015 10:11:22 -0600 Subject: [PATCH] oops. DefaultTransport being used. --- command/agent/check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/check.go b/command/agent/check.go index ff95272cc4..ef0eea3ad1 100644 --- a/command/agent/check.go +++ b/command/agent/check.go @@ -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 } }