scrape: remove two blank lines. (#7610)

Signed-off-by: johncming <johncming@yahoo.com>
This commit is contained in:
johncming 2020-07-19 13:34:04 +08:00 committed by GitHub
parent b30654211c
commit 490f9c664e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -434,9 +434,7 @@ func (sp *scrapePool) sync(targets []*Target) {
if _, ok := uniqueTargets[hash]; !ok { if _, ok := uniqueTargets[hash]; !ok {
wg.Add(1) wg.Add(1)
go func(l loop) { go func(l loop) {
l.stop() l.stop()
wg.Done() wg.Done()
}(sp.loops[hash]) }(sp.loops[hash])