go/journal2clickhouse: fix the Classic Bug
This commit is contained in:
parent
730d057e18
commit
7e848a2622
1 changed files with 1 additions and 0 deletions
|
@ -470,6 +470,7 @@ func main() {
|
||||||
}()
|
}()
|
||||||
|
|
||||||
for hostname, remoteAddr := range scrapeHosts {
|
for hostname, remoteAddr := range scrapeHosts {
|
||||||
|
hostname, remoteAddr := hostname, remoteAddr
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
fetchWG.Add(1)
|
fetchWG.Add(1)
|
||||||
go func() {
|
go func() {
|
||||||
|
|
Loading…
Reference in a new issue