mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-22 05:40:50 +02:00
remove TLS bypass and rename import
This commit is contained in:
parent
a762ec39aa
commit
72589feffd
2 changed files with 1 additions and 4 deletions
|
@ -1,7 +1,6 @@
|
|||
package registry
|
||||
|
||||
import (
|
||||
"crypto/tls"
|
||||
"net"
|
||||
"net/http"
|
||||
"time"
|
||||
|
@ -34,7 +33,6 @@ func NewClient() *Client {
|
|||
IdleConnTimeout: 90 * time.Second,
|
||||
TLSHandshakeTimeout: 10 * time.Second,
|
||||
ExpectContinueTimeout: 1 * time.Second,
|
||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
|
||||
}
|
||||
return NewClientWithHTTPClient(&http.Client{Transport: tr})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue