Correct syntax error in group membership test.

Fixes #2300. Regression in 4d59019288
This commit is contained in:
Michael Chapman 2015-06-10 14:50:32 +10:00
parent 2b93186512
commit 02e3d30aac
1 changed files with 1 additions and 1 deletions

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