Skip to content

Commit

Permalink
Use http.DefaultClient in the getClient function
Browse files Browse the repository at this point in the history
  • Loading branch information
aniruddha2000 committed Oct 26, 2021
1 parent 1ab32ac commit ec3c1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locksmithctl/locksmithctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func main() {

// getLockClient returns an initialized EtcdLockClient, using an etcd
// client configured from the global etcd flags
func getClient() (*client.Client, error) {
func getClient() (*http.DefaultClient, error) {
// copy of github.com/coreos/etcd/client.DefaultTransport so that
// TLSClientConfig can be overridden.
transport := &http.Transport{
Expand Down

0 comments on commit ec3c1cc

Please sign in to comment.