mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 16:30:55 +01:00
lib/httpserver: make errcheck happy
This commit is contained in:
parent
667a7594b7
commit
3b8596bfec
@ -32,7 +32,7 @@ func WritePrometheusMetrics(w io.Writer) {
|
||||
metricsCacheLock.Unlock()
|
||||
|
||||
bb := metricsCache.Load().(*bytesutil.ByteBuffer)
|
||||
w.Write(bb.B)
|
||||
_, _ = w.Write(bb.B)
|
||||
}
|
||||
|
||||
var (
|
||||
|
Loading…
Reference in New Issue
Block a user