diff --git a/api/prometheus/v1/api_test.go b/api/prometheus/v1/api_test.go index 707d29a..1f7fda7 100644 --- a/api/prometheus/v1/api_test.go +++ b/api/prometheus/v1/api_test.go @@ -613,6 +613,7 @@ func TestAPIClientDo(t *testing.T) { { response: &apiResponse{ Status: "error", + Data: json.RawMessage(`null`), ErrorType: ErrBadData, Error: "end timestamp must not be before start time", },