3
0
corteza/server/pkg/options/HTTPClient.go
2022-11-14 09:26:39 +01:00

8 lines
198 B
Go

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