ran go fmt and made 1 fix after running tests again

This commit is contained in:
Peter Beams 2015-03-17 13:00:36 +00:00
parent 34d2efa7df
commit e4214a9983
4 changed files with 85 additions and 85 deletions

View File

@ -8,10 +8,10 @@ import (
"time"
"github.com/hashicorp/aws-sdk-go/aws"
"github.com/hashicorp/aws-sdk-go/gen/ec2"
"github.com/hashicorp/terraform/helper/hashcode"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/aws-sdk-go/gen/ec2"
)
func resourceAwsNetworkInterface() *schema.Resource {
@ -125,7 +125,8 @@ func resourceAwsNetworkInterfaceRead(d *schema.ResourceData, meta interface{}) e
d.Set("security_groups", flattenGroupIdentifiers(eni.Groups))
if eni.Attachment != nil {
d.Set("attachment", flattenAttachment(eni.Attachment))
attachment := []map[string]interface{} { flattenAttachment(eni.Attachment) }
d.Set("attachment", attachment)
} else {
d.Set("attachment", nil)
}

View File

@ -162,7 +162,6 @@ func testAccCheckAWSENIDestroy(s *terraform.State) error {
return nil
}
const testAccAWSENIConfig = `
resource "aws_vpc" "foo" {
cidr_block = "172.16.0.0/16"