mirror of https://github.com/prometheus/prometheus
promql: Remove unused Point.MarshalJSON method (#9860)
JSON marshaling is only needed for the HTTP API. Since Point is such a frequently marshaled type, it gets an optimized treatment directly in web/api/v1/api.go. The MarshalJSON method still provided in the promql package is therefore unused and its existence is confusing. Signed-off-by: beorn7 <beorn@grafana.com>pull/9864/head
parent
0e9d2aac2a
commit
427425cc9f
Loading…
Reference in new issue