mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-11 22:07:27 -08:00
scrape: remove two blank lines. (#7610)
Signed-off-by: johncming <johncming@yahoo.com>
This commit is contained in:
parent
b30654211c
commit
490f9c664e
|
@ -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…
Reference in a new issue