mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-01 04:21:36 +01:00
Merge pull request #8239 from bitsf/fix_replication_dockerhub_tls
fix replication dockerhub skip tls
This commit is contained in:
commit
4cdb6fb975
@ -26,7 +26,7 @@ func NewClient(registry *model.Registry) (*Client, error) {
|
||||
client := &Client{
|
||||
host: registry.URL,
|
||||
client: &http.Client{
|
||||
Transport: util.GetHTTPTransport(false),
|
||||
Transport: util.GetHTTPTransport(registry.Insecure),
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user