lib/promscrape: make errcheck happy (#1703)

This commit is contained in:
Roman Khavronenko 2021-10-13 14:57:30 +03:00 committed by Aliaksandr Valialkin
parent c3a729d458
commit 5dab25e8ad
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -84,7 +84,7 @@ func WriteConfigData(w io.Writer) {
return
}
b := v.(*[]byte)
w.Write(*b)
_, _ = w.Write(*b)
}
func runScraper(configFile string, pushData func(wr *prompbmarshal.WriteRequest), globalStopCh <-chan struct{}) {