Skip to content

Commit ac574bb

Browse files
committed
update caller too
1 parent a59f733 commit ac574bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ func NewClient(hc *http.Client) (client Client) {
738738

739739
certPath, certPathExists := os.LookupEnv(APIHostCert)
740740

741-
if certPathExists && !isCustomTransport(hc) {
741+
if certPathExists && !hasCustomTransport(hc) {
742742
cert, err := os.ReadFile(filepath.Clean(certPath))
743743
if err != nil {
744744
log.Fatalf("[ERROR] Error when reading cert at %s: %s\n", certPath, err.Error())

0 commit comments

Comments
 (0)