mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-21 02:47:01 +00:00
Disable logger from retryer
This commit is contained in:
parent
43596c9cfb
commit
03046e8ff7
1 changed files with 1 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ func newHTTPRegistry(schemaPathTemplate string, cacheFolder string, strict bool,
|
||||||
retryClient := retryablehttp.NewClient()
|
retryClient := retryablehttp.NewClient()
|
||||||
retryClient.RetryMax = 2
|
retryClient.RetryMax = 2
|
||||||
retryClient.HTTPClient = &http.Client{Transport: reghttp}
|
retryClient.HTTPClient = &http.Client{Transport: reghttp}
|
||||||
|
retryClient.Logger = nil
|
||||||
|
|
||||||
return &SchemaRegistry{
|
return &SchemaRegistry{
|
||||||
c: retryClient.StandardClient(),
|
c: retryClient.StandardClient(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue