From ef0a763c29a216346bd267fdac3c40e0f78fc935 Mon Sep 17 00:00:00 2001 From: Clint Shryock Date: Thu, 9 Apr 2015 09:03:45 -0500 Subject: [PATCH] fix pointer references --- builtin/providers/aws/structure_test_sdk.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/providers/aws/structure_test_sdk.go b/builtin/providers/aws/structure_test_sdk.go index b0f945d1e..fddf4a896 100644 --- a/builtin/providers/aws/structure_test_sdk.go +++ b/builtin/providers/aws/structure_test_sdk.go @@ -59,7 +59,7 @@ func TestExpandIPPermsSDK(t *testing.T) { "self": true, }, } - group := ec2.SecurityGroup{ + group := &ec2.SecurityGroup{ GroupID: aws.String("foo"), VPCID: aws.String("bar"), } @@ -142,7 +142,7 @@ func TestExpandIPPerms_nonVPCSDK(t *testing.T) { "self": true, }, } - group := ec2.SecurityGroup{ + group := &ec2.SecurityGroup{ GroupName: aws.String("foo"), } perms := expandIPPermsSDK(group, expanded)