Merge pull request #114 from devon-mar/fix-tls

Fix #113 -  insecureTLS
This commit is contained in:
Steve Brunton 2021-05-20 22:00:39 -04:00 committed by GitHub
commit 076990fed9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ func WithTimeout(d time.Duration) Option {
func WithTLS(insecure bool) Option {
return func(c *collector) {
c.enableTLS = true
c.insecureTLS = true
c.insecureTLS = insecure
}
}