1
0
mirror of https://github.com/minio/minio.git synced 2025-04-01 02:03:42 -04:00

2 Commits

Author SHA1 Message Date
Anis Elleuch
69bd6df464 storage: Implement Close() in REST client ()
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
Krishna Srinivas
81bee93b8d Move remote disk StorageAPI abstraction from RPC to REST () 2018-10-04 17:44:06 -07:00