Skip to content

Commit

Permalink
Update aws/resource_aws_sqs_queue_policy.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 51856ab commit 27d186e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_sqs_queue_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func resourceAwsSqsQueuePolicyUpsert(d *schema.ResourceData, meta interface{}) e
var equivalent bool
equivalent, err = awspolicy.PoliciesAreEquivalent(*queuePolicy, policy)
if !equivalent {
return fmt.Errorf("SQS attribute not updated")
return notUpdatedError
}
}
}
Expand Down

0 comments on commit 27d186e

Please sign in to comment.