Skip to content

Commit

Permalink
Fixed intentional linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
fheinecke committed Jan 16, 2024
1 parent 0d6af08 commit cf7532d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ami-cleanup/src/internal/cleanup.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func NewApplicationInstance(doDryRun bool) *ApplicationInstance {
func (ai *ApplicationInstance) Run(ctx context.Context) error {
cfg, err := config.LoadDefaultConfig(ctx)
if err != nil {
trace.Wrap(err, "failed to load AWS credentials")
return trace.Wrap(err, "failed to load AWS credentials")
}

enabledRegions, err := ai.getEnabledRegions(ctx, ai.accountClientGenerator(&cfg))
Expand Down

0 comments on commit cf7532d

Please sign in to comment.