mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-19 15:30:17 +00:00
lib/promscrape: make errcheck happy (#1703)
This commit is contained in:
parent
c3a729d458
commit
5dab25e8ad
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