Skip to content

Commit

Permalink
fix util.go file
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbostan committed Apr 17, 2021
1 parent a9c4301 commit 97a8aff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etcdctl/ctlv3/command/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
package command

import (
"crypto/tls"
"context"
"crypto/tls"
"encoding/hex"
"fmt"
"io/ioutil"
Expand Down Expand Up @@ -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,
}
}
Expand Down

0 comments on commit 97a8aff

Please sign in to comment.