client_golang/api
Bryan Boreham 8fbbc9bc6b Decode JSON body when Prometheus returns 400 to an api call
400 and 422 are documented error codes from Prometheus, so we should
attempt to parse the error returned for both of them.

Needed to change a test that was requiring the old behaviour - made it
use 500 instead of 400.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2018-06-04 10:35:16 +00:00
..
prometheus/v1 Decode JSON body when Prometheus returns 400 to an api call 2018-06-04 10:35:16 +00:00
client.go api: fix typo in comments 2017-04-25 18:17:16 -03:00
client_test.go Fix typos 2018-04-13 23:23:52 +02:00