small code cleanup

This commit is contained in:
Clint Shryock 2015-03-26 11:58:20 -05:00
parent be60d39b24
commit 1b699aae7d
1 changed files with 0 additions and 4 deletions

View File

@ -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)
}