Browse Source

scrape: remove two blank lines. (#7610)

Signed-off-by: johncming <johncming@yahoo.com>
pull/7566/head
johncming 4 years ago committed by GitHub
parent
commit
490f9c664e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      scrape/scrape.go

2
scrape/scrape.go

@ -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])

Loading…
Cancel
Save