Remove test/integration/* from hack/.golint_failures

This commit is contained in:
Eric Walker
2018-11-13 20:28:00 -07:00
parent 9fd7a4c2dc
commit 75df4dc04c
19 changed files with 115 additions and 105 deletions

View File

@@ -448,12 +448,14 @@ func TestAdoption(t *testing.T) {
if err != nil {
return false, err
}
if e, a := tc.expectedOwnerReferences(rc), updatedPod.OwnerReferences; reflect.DeepEqual(e, a) {
e, a := tc.expectedOwnerReferences(rc), updatedPod.OwnerReferences
if reflect.DeepEqual(e, a) {
return true, nil
} else {
t.Logf("ownerReferences don't match, expect %v, got %v", e, a)
return false, nil
}
t.Logf("ownerReferences don't match, expect %v, got %v", e, a)
return false, nil
}); err != nil {
t.Fatalf("test %q failed: %v", tc.name, err)
}