summaryrefslogtreecommitdiff
path: root/scrape.go
diff options
context:
space:
mode:
authorPhilipp Tanlak <philipp.tanlak@gmail.com>2024-03-07 12:46:44 +0100
committerPhilipp Tanlak <philipp.tanlak@gmail.com>2024-03-07 12:46:44 +0100
commitde0f7e5341fd8957b6ed451f9098505f3b5a68ee (patch)
tree08c84f51db46b2433ab9d04951d9c6bfd6f76ea6 /scrape.go
parent92baa1671dd2a9dcc43d14f3a893f0e7f9a4b34d (diff)
test: add mutex to testsv0.8.1
Diffstat (limited to 'scrape.go')
-rw-r--r--scrape.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/scrape.go b/scrape.go
index d12a5e0..5b0f4e0 100644
--- a/scrape.go
+++ b/scrape.go
@@ -96,7 +96,7 @@ func (s *Scraper) Run() {
}
}
- go s.scrape()
+ s.scrape()
s.wg.Wait()
close(s.jobs)