Merge pull request #6258 from wllenyj/fix-registry-panic
This commit is contained in:
commit
69822aa936
@ -375,7 +375,9 @@ func (c *criService) registryHosts(ctx context.Context, auth *runtime.AuthConfig
|
|||||||
}
|
}
|
||||||
} else if isLocalHost(host) && u.Scheme == "http" {
|
} else if isLocalHost(host) && u.Scheme == "http" {
|
||||||
// Skipping TLS verification for localhost
|
// Skipping TLS verification for localhost
|
||||||
transport.TLSClientConfig.InsecureSkipVerify = true
|
transport.TLSClientConfig = &tls.Config{
|
||||||
|
InsecureSkipVerify: true,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make a copy of `auth`, so that different authorizers would not reference
|
// Make a copy of `auth`, so that different authorizers would not reference
|
||||||
|
Loading…
Reference in New Issue
Block a user