From 0e382b9645c6aee5063aedd083446985f57efd41 Mon Sep 17 00:00:00 2001 From: Seth L <81644108+sethAmazon@users.noreply.github.com> Date: Tue, 3 Oct 2023 16:54:35 -0400 Subject: [PATCH] =?UTF-8?q?Use=20fmt.Printf=20Instead=20Of=20log.Printf=20?= =?UTF-8?q?On=20Start=20Up=20Because=20Of=20A=20Bug=20Wit=E2=80=A6=20(#888?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/retryer/imdsretryer.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/retryer/imdsretryer.go b/internal/retryer/imdsretryer.go index d7aaeb9dc4..d03bcba407 100644 --- a/internal/retryer/imdsretryer.go +++ b/internal/retryer/imdsretryer.go @@ -4,6 +4,7 @@ package retryer import ( + "fmt" "log" "os" "strconv" @@ -27,7 +28,7 @@ type IMDSRetryer struct { // otel component layer retries should come from aws config settings // translator layer should come from env vars see GetDefaultRetryNumber() func NewIMDSRetryer(imdsRetries int) IMDSRetryer { - log.Printf("I! imds retry client will retry %d times", imdsRetries) + fmt.Printf("I! imds retry client will retry %d times", imdsRetries) return IMDSRetryer{ DefaultRetryer: client.DefaultRetryer{ NumMaxRetries: imdsRetries,