From 490f9c664e48fbd1509c42ae85fa566901b11a99 Mon Sep 17 00:00:00 2001 From: johncming Date: Sun, 19 Jul 2020 13:34:04 +0800 Subject: [PATCH] scrape: remove two blank lines. (#7610) Signed-off-by: johncming --- scrape/scrape.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/scrape/scrape.go b/scrape/scrape.go index 9883156ad..ce0e33332 100644 --- a/scrape/scrape.go +++ b/scrape/scrape.go @@ -434,9 +434,7 @@ func (sp *scrapePool) sync(targets []*Target) { if _, ok := uniqueTargets[hash]; !ok { wg.Add(1) go func(l loop) { - l.stop() - wg.Done() }(sp.loops[hash])