mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00:00
lib/promscrape: make errcheck happy (#1703)
This commit is contained in:
parent
9882cda8b9
commit
c0a932a55f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue