Skip to content

Commit

Permalink
fix errcode reference
Browse files Browse the repository at this point in the history
  • Loading branch information
anGie44 committed Feb 3, 2022
1 parent a7cd721 commit 3de1499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/s3/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ func resourceBucketRead(d *schema.ResourceData, meta interface{}) error {
Bucket: aws.String(d.Id()),
})
})
if err != nil && !tfawserr.ErrCodeEquals(err, ErrCodeNoSuchCorsConfiguration) {
if err != nil && !tfawserr.ErrCodeEquals(err, ErrCodeNoSuchCORSConfiguration) {
return fmt.Errorf("error getting S3 Bucket CORS configuration: %s", err)
}

Expand Down

0 comments on commit 3de1499

Please sign in to comment.