mirror of
https://github.com/nshttpd/mikrotik-exporter.git
synced 2024-11-15 10:15:18 +01:00
commit
076990fed9
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user