mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 08:23:34 +01:00
lib/promscrape: make errcheck happy (#1703)
This commit is contained in:
parent
c3a729d458
commit
5dab25e8ad
@ -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{}) {
|
||||
|
Loading…
Reference in New Issue
Block a user