mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
add http status code to APIResponse
This commit is contained in:
parent
34c2e3ebd3
commit
8480eefde5
1 changed files with 1 additions and 1 deletions
|
|
@ -61,6 +61,6 @@ type APIResponse struct {
|
||||||
// Error is the error message, if this is an error response.
|
// Error is the error message, if this is an error response.
|
||||||
Error string `json:"error"`
|
Error string `json:"error"`
|
||||||
|
|
||||||
// StatusCode is the HTTP status code of the response.
|
// HTTPStatusCode is the HTTP status code of the response.
|
||||||
HTTPStatusCode int `json:"httpStatusCode"`
|
HTTPStatusCode int `json:"httpStatusCode"`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue