unused variable

vet can now catch these in closures
pull/16991/head
James Bardin 9 years ago
parent 4b49a323c3
commit d91dc1a13e

@ -470,10 +470,7 @@ func TestTest_importStateIdFuncFail(t *testing.T) {
return s, nil
}
checked := false
checkFn := func(s []*terraform.InstanceState) error {
checked = true
if s[0].ID != "foo" {
return fmt.Errorf("bad: %#v", s)
}

Loading…
Cancel
Save