Fix insecureTLS

This commit is contained in:
Devon Mar 2021-05-19 21:39:43 -07:00
parent 6f53244308
commit dfec8c9482
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
}
}