Skip to content

Commit

Permalink
fix(aws): add soft error
Browse files Browse the repository at this point in the history
  • Loading branch information
blanchardma authored Sep 13, 2024
1 parent 136477f commit 74fa6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ func (p *AWSProvider) records(ctx context.Context, zones map[string]*profiledZon
for paginator.HasMorePages() {
resp, err := paginator.NextPage(ctx)
if err != nil {
return nil, fmt.Errorf("failed to list resource records sets for zone %s using aws profile %q: %w", *z.zone.Id, z.profile, err)
return nil, provider.NewSoftError(fmt.Errorf("failed to list resource records sets for zone %s using aws profile %q: %w", *z.zone.Id, z.profile, err))
}

for _, r := range resp.ResourceRecordSets {
Expand Down

0 comments on commit 74fa6f9

Please sign in to comment.