mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-13 13:11:37 +01:00
lib/promscrape: typo fix after 74c00a8762
This commit is contained in:
parent
6ae4f3526b
commit
d1b9cbcef4
@ -560,7 +560,7 @@ func (sw *scrapeWork) scrapeStream(scrapeTimestamp, realTimestamp int64) error {
|
||||
} else {
|
||||
var mu sync.Mutex
|
||||
err = sbr.Init(sr)
|
||||
if err != nil {
|
||||
if err == nil {
|
||||
err = parser.ParseStream(&sbr, scrapeTimestamp, false, func(rows []parser.Row) error {
|
||||
mu.Lock()
|
||||
defer mu.Unlock()
|
||||
|
Loading…
Reference in New Issue
Block a user