fix util.go file

release-3.5
Saeid Bostandoust 2021-04-17 14:24:56 +04:30
parent a9c4301c1e
commit 97a8affdd3
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@
package command
import (
"crypto/tls"
"context"
"crypto/tls"
"encoding/hex"
"fmt"
"io/ioutil"
@ -107,7 +107,7 @@ func endpointMemoryMetrics(host string, scfg *secureCfg) float64 {
return 0.0
}
http.DefaultTransport.(*http.Transport).TLSClientConfig = &tls.Config{
Certificates: []tls.Certificate{cert},
Certificates: []tls.Certificate{cert},
InsecureSkipVerify: scfg.insecureSkipVerify,
}
}