Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Update builtin/aws/ecr/pull/builder.go
Browse files Browse the repository at this point in the history
Co-authored-by: Izaak Lauer <8404559+izaaklauer@users.noreply.github.com>
  • Loading branch information
kmcgovern-apixio and izaaklauer committed Jul 19, 2023
1 parent 3073a71 commit 5df7a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/aws/ecr/pull/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ func (b *Builder) getErcImage(ctx context.Context, ui terminal.UI, log hclog.Log
cfgTag := b.config.Tag
cfgRepository := b.config.Repository

tokenResp, err := ecrsvc.GetAuthorizationToken(&awsecr.GetAuthorizationTokenInput{})
tokenResp, err := ecrsvc.GetAuthorizationTokenWithContext(ctx, &awsecr.GetAuthorizationTokenInput{})
if err != nil {
log.Error("error getting authorization token", "error", err)
return nil, nil, err
Expand Down

0 comments on commit 5df7a40

Please sign in to comment.