fix pointer references

This commit is contained in:
Clint Shryock 2015-04-09 09:03:45 -05:00
parent 36e364a239
commit ef0a763c29
1 changed files with 2 additions and 2 deletions

View File

@ -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)