Anis Elleuch 69bd6df464 storage: Implement Close() in REST client (#6826)
Calling /minio/prometheuses/metrics calls xlSets.StorageInfo() which creates a new
storage REST client and closes it. However, currently, closing does nothing
to the underlying opened http client.

This commit introduces a closing behavior by calling CloseIdleConnections
provided by http.Transport upon the initialization of this latter.
2018-11-20 11:07:19 -08:00
..
2018-11-19 19:40:02 +05:30
2018-10-02 11:48:17 +05:30
2018-11-14 19:48:35 +05:30
2018-06-06 14:21:56 +05:30
2018-10-26 14:41:25 -07:00