Skip to content

Commit

Permalink
Use fmt.Printf Instead Of log.Printf On Start Up Because Of A Bug Wit… (
Browse files Browse the repository at this point in the history
  • Loading branch information
sethAmazon committed Oct 3, 2023
1 parent 6b25891 commit 0e382b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/retryer/imdsretryer.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package retryer

import (
"fmt"
"log"
"os"
"strconv"
Expand All @@ -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,
Expand Down

0 comments on commit 0e382b9

Please sign in to comment.