From 1b699aae7d25054116e20b4164f9355dd34bc2ea Mon Sep 17 00:00:00 2001 From: Clint Shryock Date: Thu, 26 Mar 2015 11:58:20 -0500 Subject: [PATCH] small code cleanup --- builtin/providers/aws/resource_aws_s3_bucket.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/builtin/providers/aws/resource_aws_s3_bucket.go b/builtin/providers/aws/resource_aws_s3_bucket.go index c45e439b6..cb32d5fa3 100644 --- a/builtin/providers/aws/resource_aws_s3_bucket.go +++ b/builtin/providers/aws/resource_aws_s3_bucket.go @@ -72,13 +72,9 @@ func resourceAwsS3BucketCreate(d *schema.ResourceData, meta interface{}) error { func resourceAwsS3BucketUpdate(d *schema.ResourceData, meta interface{}) error { s3conn := meta.(*AWSClient).s3conn - d.Partial(true) if err := setTagsS3(s3conn, d); err != nil { return err - } else { - d.SetPartial("tags") } - d.Partial(false) return resourceAwsS3BucketRead(d, meta) }