tweak the output string for better readability
This commit is contained in:
parent
a7bbff6c1e
commit
fa77fbf4f4
|
@ -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") {
|
||||||
|
|
Loading…
Reference in New Issue