We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a59f733 commit ac574bbCopy full SHA for ac574bb
client.go
@@ -738,7 +738,7 @@ func NewClient(hc *http.Client) (client Client) {
738
739
certPath, certPathExists := os.LookupEnv(APIHostCert)
740
741
- if certPathExists && !isCustomTransport(hc) {
+ if certPathExists && !hasCustomTransport(hc) {
742
cert, err := os.ReadFile(filepath.Clean(certPath))
743
if err != nil {
744
log.Fatalf("[ERROR] Error when reading cert at %s: %s\n", certPath, err.Error())
0 commit comments