Disable logger from retryer

This commit is contained in:
Yann Hamon 2024-07-30 23:19:30 +02:00
parent 43596c9cfb
commit 03046e8ff7

View file

@ -56,6 +56,7 @@ func newHTTPRegistry(schemaPathTemplate string, cacheFolder string, strict bool,
retryClient := retryablehttp.NewClient()
retryClient.RetryMax = 2
retryClient.HTTPClient = &http.Client{Transport: reghttp}
retryClient.Logger = nil
return &SchemaRegistry{
c: retryClient.StandardClient(),