3
0
corteza/pkg/options/HTTPClient.go
2021-03-28 09:25:55 +02:00

8 lines
210 B
Go

package options
func (o *HTTPClientOpt) Defaults() {
// just in case anyone used env var with the typo (before it was fixed)
o.ClientTSLInsecure = EnvBool("HTTP_CLIENT_TSL_INSECURE", o.ClientTSLInsecure)
}