mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-26 16:51:47 +01:00
fix replication dockerhub tls skip tls
Change-Id: I9584d89cf9bda2b782b0fd556450a81be0fc7510 Signed-off-by: Ziming Zhang <zziming@vmware.com>
This commit is contained in:
parent
fa51ac6406
commit
0691a5ad9c
@ -26,7 +26,7 @@ func NewClient(registry *model.Registry) (*Client, error) {
|
|||||||
client := &Client{
|
client := &Client{
|
||||||
host: registry.URL,
|
host: registry.URL,
|
||||||
client: &http.Client{
|
client: &http.Client{
|
||||||
Transport: util.GetHTTPTransport(false),
|
Transport: util.GetHTTPTransport(registry.Insecure),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user