tweak the output string for better readability

This commit is contained in:
Ben Lau 2017-02-21 12:51:58 -08:00
parent a7bbff6c1e
commit fa77fbf4f4
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ func resourceAwsS3BucketCreate(d *schema.ResourceData, meta interface{}) error {
func resourceAwsS3BucketUpdate(d *schema.ResourceData, meta interface{}) error { func resourceAwsS3BucketUpdate(d *schema.ResourceData, meta interface{}) error {
s3conn := meta.(*AWSClient).s3conn s3conn := meta.(*AWSClient).s3conn
if err := setTagsS3(s3conn, d); err != nil { if err := setTagsS3(s3conn, d); err != nil {
return fmt.Errorf("%s %q", err, d.Get("bucket").(string)) return fmt.Errorf("%q: %s", d.Get("bucket").(string), err)
} }
if d.HasChange("policy") { if d.HasChange("policy") {