Skip to content

Commit

Permalink
enum
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Oct 3, 2020
1 parent 4d22215 commit dfd53d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_mq_broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ func waitForMqBrokerDeletion(conn *mq.MQ, id string) error {
BrokerId: aws.String(id),
})
if err != nil {
if isAWSErr(err, "NotFoundException", "") {
if isAWSErr(err, mq.ErrCodeNotFoundException, "") {
return 42, "", nil
}
return 42, "", err
Expand Down

0 comments on commit dfd53d7

Please sign in to comment.