From 7e848a2622b8bdcecbd2f5ef533c8eeea3f261a1 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 1 Jan 2022 15:31:47 +0000 Subject: [PATCH] go/journal2clickhouse: fix the Classic Bug --- go/journal2clickhouse/journal2clickhouse.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/journal2clickhouse/journal2clickhouse.go b/go/journal2clickhouse/journal2clickhouse.go index fd117f89bb..6e5606babc 100644 --- a/go/journal2clickhouse/journal2clickhouse.go +++ b/go/journal2clickhouse/journal2clickhouse.go @@ -470,6 +470,7 @@ func main() { }() for hostname, remoteAddr := range scrapeHosts { + hostname, remoteAddr := hostname, remoteAddr wg.Add(1) fetchWG.Add(1) go func() {