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 4, 2022
1 parent 4623d10 commit db31036
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 @@ -955,7 +955,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 db31036

Please sign in to comment.