Skip to content

Commit

Permalink
Remove unintentional debug output (#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
christophetd committed Jul 24, 2023
1 parent 9e71abd commit 2ba3ec6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions v2/internal/utils/aws_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ func WaitForAndAssumeAWSRole(awsConnection *aws.Config, roleArn string) error {
backoffStrategy.MaxElapsedTime = 1 * time.Minute // stop trying after 1 minute
err := backoff.Retry(func() error {
_, err := assumeRoleProvider.Retrieve(context.Background())
if err == nil {
log.Println("[DEBUG] Successfully assumed role!")
} else {
log.Println("[DEBUG] Unable to assume role, error: ", err.Error())
}
return err
}, backoffStrategy)
if err != nil {
Expand Down

0 comments on commit 2ba3ec6

Please sign in to comment.