mirror of
https://github.com/helm/helm.git
synced 2026-04-22 23:00:01 -04:00
Removed conditional
Signed-off-by: Andrew Block <andy.block@gmail.com>
This commit is contained in:
parent
154f37efec
commit
ec5e29e801
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ func (g *HTTPGetter) httpClient() (*http.Client, error) {
|
|||
}
|
||||
})
|
||||
|
||||
if (g.opts.certFile != "" && g.opts.keyFile != "") || g.opts.caFile != "" || g.opts.insecureSkipVerifyTLS {
|
||||
if (g.opts.certFile != "" && g.opts.keyFile != "") || g.opts.caFile != "" {
|
||||
tlsConf, err := tlsutil.NewClientTLS(g.opts.certFile, g.opts.keyFile, g.opts.caFile, g.opts.insecureSkipVerifyTLS)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "can't create TLS config for client")
|
||||
|
|
|
|||
Loading…
Reference in a new issue