Skip to content

Commit

Permalink
Uses safe deletion function
Browse files Browse the repository at this point in the history
  • Loading branch information
gdavison committed Sep 22, 2022
1 parent 3c691a0 commit 1e8419c
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 1e8419c

Please sign in to comment.