Skip to content

Commit

Permalink
Update aws/resource_aws_msk_cluster.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Brian Flad <bflad417@gmail.com>
  • Loading branch information
ryndaniels and bflad authored Aug 20, 2019
1 parent 3846997 commit 93b3711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_msk_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ func resourceAwsMskClusterDeleteWaiter(conn *kafka.Kafka, arn string) error {
})
if isResourceTimeoutError(err) {
_, err = conn.DescribeCluster(input)
if err != nil && isAWSErr(err, kafka.ErrCodeNotFoundException, "") {
if isAWSErr(err, kafka.ErrCodeNotFoundException, "") {
return nil
}
}
Expand Down

0 comments on commit 93b3711

Please sign in to comment.