mirror of
https://github.com/prometheus/prometheus
synced 2024-12-28 17:52:22 +00:00
4e0c932a4f
The reality is that if we ever try to encode a Protocol Buffer and it fails, it's likely that such an error is ultimately not a runtime error and should be fixed forthwith. Thusly, we should rename ``Encoder.Encode`` to ``Encoder.MustEncode`` and drop the error return value. |
||
---|---|---|
.. | ||
indexable | ||
interface.go | ||
protocol_buffer.go |