mirror of
https://github.com/prometheus/prometheus
synced 2024-12-29 02:02:17 +00:00
eecaa71ff1
Fix is to add json tags to `Metadata` struct. Absence of these tags causes Go to use the field name, which starts with an upper-case letter and breaks the protocol. Extend tests to verify the JSON response. Signed-off-by: ismail simsek <ismailsimsek09@gmail.com> |
||
---|---|---|
.. | ||
api_test.go | ||
api.go | ||
codec_test.go | ||
codec.go | ||
errors_test.go | ||
json_codec_test.go | ||
json_codec.go |