Skip to content

Commit ec3c1cc

Browse files
committed
Use http.DefaultClient in the getClient function
1 parent 1ab32ac commit ec3c1cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

locksmithctl/locksmithctl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func main() {
178178

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

0 commit comments

Comments
 (0)