From 03046e8ff73a41cd9841a74047d3ad06fc7ce9c1 Mon Sep 17 00:00:00 2001 From: Yann Hamon Date: Tue, 30 Jul 2024 23:19:30 +0200 Subject: [PATCH] Disable logger from retryer --- pkg/registry/http.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/registry/http.go b/pkg/registry/http.go index 2441ce1..d8be637 100644 --- a/pkg/registry/http.go +++ b/pkg/registry/http.go @@ -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(),