Skip to content

Commit

Permalink
Merge pull request #4477 from mtnbikenc/fix-1890228
Browse files Browse the repository at this point in the history
Bug 1890228: pkg/destroy/aws: Pass destroy if HostedZone does not exist
  • Loading branch information
openshift-merge-robot authored Dec 12, 2020
2 parents de2d699 + 6ea278d commit ec982ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/destroy/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -1896,6 +1896,9 @@ func deleteRoute53(ctx context.Context, session *session.Session, arn arn.ARN, l
Id: aws.String(id),
})
if err != nil {
if err.(awserr.Error).Code() == "NoSuchHostedZone" {
return nil
}
return err
}

Expand Down

0 comments on commit ec982ec

Please sign in to comment.