mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/httpserver: make errcheck happy
This commit is contained in:
parent
7f2a6c7b54
commit
1256931aee
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue