This commit is contained in:
Clint Shryock 2015-03-27 16:05:54 -05:00
parent 12585b1963
commit ce8ec26d08
2 changed files with 3 additions and 5 deletions

View File

@ -134,12 +134,9 @@ func testAccLoadTagsR53(zone *route53.HostedZone, td *route53.ResourceTagSet) re
return err
}
var tags []route53.Tag
if resp.ResourceTagSet != nil {
tags = resp.ResourceTagSet.Tags
}
*td = *resp.ResourceTagSet
}
return nil
}

View File

@ -29,7 +29,8 @@ func setTagsR53(conn *route53.Route53, d *schema.ResourceData) error {
ResourceID: aws.String(d.Id()),
ResourceType: aws.String("hostedzone"),
}
resp, err := conn.ChangeTagsForResource(req)
_, err := conn.ChangeTagsForResource(req)
if err != nil {
return err
}