lib/httpserver: make errcheck happy

This commit is contained in:
Aliaksandr Valialkin 2021-02-16 22:05:00 +02:00
parent 667a7594b7
commit 3b8596bfec

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 (