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