Merge pull request #2299 from michaeltchapman/syntax_fix

Correct syntax error in group membership test.
This commit is contained in:
Radek Simko 2015-06-10 10:07:27 +01:00
commit 1693728c32

View File

@ -59,7 +59,7 @@ func testAccCheckAWSGroupMembershipDestroy(s *terraform.State) error {
for _, u := range resp.Users {
for _, i := range users {
if i == *u.UserName {
return fmt.Errorf("Error: User (s) still a member of Group (%s)", i, *resp.Group.GroupName)
return fmt.Errorf("Error: User (%s) still a member of Group (%s)", i, *resp.Group.GroupName)
}
}
}