Daniel Nephin
|
6ac9149c3f
|
api: properly close the response body
reads resp.Body until EOF, so that the http client is able to re-use the TCP connection.
|
2021-06-14 18:52:59 -04:00 |
Mike Morris
|
85ef7ba943
|
api: restore Leader() and Peers() to avoid breaking function signatures (#8395)
api: add TestAPI_StatusLeaderWithQueryOptions and TestAPI_StatusPeersWithQueryOptions
api: make TestAPI_Status* error messages more verbose
|
2020-07-29 12:09:15 -04:00 |
spooner
|
c34b088583
|
Added QueryOptions for status api (#7818)
* Added QueryOptions & Tests for status api
|
2020-07-28 12:26:50 -04:00 |
Ryan Uber
|
5555e0eb9b
|
api: initial import from armon/consul-api
|
2015-01-06 10:40:00 -08:00 |