mirror of
https://github.com/prometheus/prometheus.git
synced 2025-10-01 10:41:02 +02:00
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.