mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +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
|
return
|
||||||
}
|
}
|
||||||
b := v.(*[]byte)
|
b := v.(*[]byte)
|
||||||
w.Write(*b)
|
_, _ = w.Write(*b)
|
||||||
}
|
}
|
||||||
|
|
||||||
func runScraper(configFile string, pushData func(wr *prompbmarshal.WriteRequest), globalStopCh <-chan struct{}) {
|
func runScraper(configFile string, pushData func(wr *prompbmarshal.WriteRequest), globalStopCh <-chan struct{}) {
|
||||||
|
|
Loading…
Reference in a new issue