mirror of
https://github.com/mayflower/docker-ls.git
synced 2025-11-28 00:01:09 +03:00
Add an option for ignoring SSL cert errors.
This commit is contained in:
@@ -50,7 +50,7 @@ func (r *basicAuthConnector) Request(method string, url *url.URL, hint string) (
|
||||
func NewBasicAuthConnector(cfg Config) Connector {
|
||||
return &basicAuthConnector{
|
||||
cfg: cfg,
|
||||
httpClient: http.DefaultClient,
|
||||
httpClient: createHttpClient(cfg),
|
||||
semaphore: newSemaphore(cfg.MaxConcurrentRequests()),
|
||||
stat: new(statistics),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user