prometheus/web/api/v1
Marco Pracucci 153f859b74
Fixed returned API status code on error (#7435)
* Fixed returned API status code on error

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Fixed linter

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Simplified code

Signed-off-by: Marco Pracucci <marco@pracucci.com>
2020-06-22 19:59:35 +05:30
..
api_test.go Fixed returned API status code on error (#7435) 2020-06-22 19:59:35 +05:30
api.go Fixed returned API status code on error (#7435) 2020-06-22 19:59:35 +05:30