unused variable

vet can now catch these in closures
This commit is contained in:
James Bardin 2017-12-26 14:32:57 -05:00
parent 4b49a323c3
commit d91dc1a13e
1 changed files with 0 additions and 3 deletions

View File

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