mirror of
https://github.com/nshttpd/mikrotik-exporter.git
synced 2024-09-28 03:47:33 +02:00
commit
076990fed9
@ -164,7 +164,7 @@ func WithTimeout(d time.Duration) Option {
|
|||||||
func WithTLS(insecure bool) Option {
|
func WithTLS(insecure bool) Option {
|
||||||
return func(c *collector) {
|
return func(c *collector) {
|
||||||
c.enableTLS = true
|
c.enableTLS = true
|
||||||
c.insecureTLS = true
|
c.insecureTLS = insecure
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user