Merge pull request #6258 from wllenyj/fix-registry-panic
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Fu Wei
					Fu Wei