cleanups
This commit is contained in:
parent
12585b1963
commit
ce8ec26d08
|
@ -134,13 +134,10 @@ 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
|
||||
}
|
||||
|
||||
*td = *resp.ResourceTagSet
|
||||
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue