Skip to content

Commit

Permalink
Merge pull request #26952 from hashicorp/b-sqs-queue-sweeper
Browse files Browse the repository at this point in the history
resource/aws_sqs_queue: Fix panic in sweeper
  • Loading branch information
gdavison authored Sep 27, 2022
2 parents 3508903 + 1e8419c commit 002c2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/sqs/sweep.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func sweepQueues(region string) error {
r := ResourceQueue()
d := r.Data(nil)
d.SetId(aws.StringValue(queueUrl))
err = r.Delete(d, client)
err = sweep.DeleteResource(r, d, client)

if err != nil {
log.Printf("[ERROR] %s", err)
Expand Down

0 comments on commit 002c2c2

Please sign in to comment.