lib/httpserver: make errcheck happy

This commit is contained in:
Aliaksandr Valialkin 2021-02-16 22:05:00 +02:00
parent 7f2a6c7b54
commit 1256931aee

View file

@ -32,7 +32,7 @@ func WritePrometheusMetrics(w io.Writer) {
metricsCacheLock.Unlock() metricsCacheLock.Unlock()
bb := metricsCache.Load().(*bytesutil.ByteBuffer) bb := metricsCache.Load().(*bytesutil.ByteBuffer)
w.Write(bb.B) _, _ = w.Write(bb.B)
} }
var ( var (