Implémenter Response dans GetHealthResponse
This commit is contained in:
parent
a13bb131f4
commit
0f56348746
3 changed files with 16 additions and 13 deletions
|
@ -77,7 +77,7 @@ func (a *ApiClient) Call(method, route string, requestBody io.Reader, useKey boo
|
|||
|
||||
// GetHealth allows checking for API server health
|
||||
func (a *ApiClient) GetHealth() (string, error) {
|
||||
var getHealthResponse responses.GetHealth
|
||||
var getHealthResponse responses.GetHealthResponse
|
||||
|
||||
response, err := a.Call(http.MethodGet, "/v5/health", nil, true)
|
||||
if err != nil {
|
||||
|
|
Reference in a new issue