misc: remove redundant nil check

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
Hidde Beydals 2023-10-09 14:55:23 +02:00
parent a70b3f37c0
commit aba98008ac
No known key found for this signature in database
GPG Key ID: 979F380FC2341744
1 changed files with 0 additions and 4 deletions

View File

@ -373,10 +373,6 @@ func TestSummarizeAndPatch(t *testing.T) {
tt.afterFunc(g, obj)
}
if obj == nil {
t.Fail()
}
// Check if the object status is valid as per kstatus.
condns := &conditionscheck.Conditions{NegativePolarity: testReadyConditions.NegativePolarity}
checker := conditionscheck.NewChecker(c, condns)