misc: remove redundant nil check
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
parent
a70b3f37c0
commit
aba98008ac
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue