Skip to content

Commit b6c6bc0

Browse files
committed
fix: fix can not use IPV6
Signed-off-by: Rory Z <16801068+Rory-Z@users.noreply.github.com>
1 parent 2aadb9e commit b6c6bc0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

collector/requester.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ func newRequester(metrics *config.Metrics) *requester {
3333
WriteTimeout: 5 * time.Second,
3434
MaxConnWaitTimeout: 5 * time.Second,
3535
TLSConfig: metrics.TLSClientConfig.ToTLSConfig(),
36+
DialDualStack: true,
3637
},
3738
}
3839
}

0 commit comments

Comments
 (0)