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:
@@ -124,7 +124,7 @@ func (r *tokenAuthConnector) GetStatistics() Statistics {
|
||||
func NewTokenAuthConnector(cfg Config) Connector {
|
||||
connector := tokenAuthConnector{
|
||||
cfg: cfg,
|
||||
httpClient: http.DefaultClient,
|
||||
httpClient: createHttpClient(cfg),
|
||||
semaphore: newSemaphore(cfg.MaxConcurrentRequests()),
|
||||
tokenCache: newTokenCache(),
|
||||
stat: new(statistics),
|
||||
|
||||
Reference in New Issue
Block a user