Skip to content

Commit

Permalink
formatted imports
Browse files Browse the repository at this point in the history
  • Loading branch information
yuonoda committed Feb 7, 2021
1 parent 9bb6318 commit b80c949
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aws/data_source_aws_route53_zones.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package aws

import (
"fmt"

"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/route53"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down Expand Up @@ -35,7 +36,7 @@ func dataSourceAwsRoute53ZonesRead(d *schema.ResourceData, meta interface{}) err

zoneIds := make([]string, 0)
for _, zone := range res.HostedZones {
zoneIds = append(zoneIds, aws.StringValue(zone.Id)) // TODO There is a unexpected "/hostedzone/" prefix
zoneIds = append(zoneIds, aws.StringValue(zone.Id))
}

d.SetId(meta.(*AWSClient).region)
Expand Down

0 comments on commit b80c949

Please sign in to comment.