diff --git a/pkg/registry/http.go b/pkg/registry/http.go index 2441ce1..831b3d7 100644 --- a/pkg/registry/http.go +++ b/pkg/registry/http.go @@ -54,6 +54,9 @@ func newHTTPRegistry(schemaPathTemplate string, cacheFolder string, strict bool, // retriable http client retryClient := retryablehttp.NewClient() + if !debug { + retryClient.Logger = nil + } retryClient.RetryMax = 2 retryClient.HTTPClient = &http.Client{Transport: reghttp}