Browse Source

fix(go.d/pkg/web): correct close idle connections (#19052)

Ilya Mashchenko 2 days ago
parent
commit
febdb5e312
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/go/plugin/go.d/pkg/web/client_config.go

+ 1 - 1
src/go/plugin/go.d/pkg/web/client_config.go

@@ -125,7 +125,7 @@ func (t *http2Transport) RoundTrip(req *http.Request) (resp *http.Response, err
 	return t.t2c.RoundTrip(req)
 }
 
-func (t *http2Transport) CloseIdleConnection() {
+func (t *http2Transport) CloseIdleConnections() {
 	t.t2.CloseIdleConnections()
 	t.t2c.CloseIdleConnections()
 }