mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/promscrape: typo fix after 74c00a8762
This commit is contained in:
parent
6ae4f3526b
commit
d1b9cbcef4
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue