mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +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
|
||||
}
|
||||
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