diff --git a/command/operator_diagnose_test.go b/command/operator_diagnose_test.go index 10da07ea2..c2aa03fdd 100644 --- a/command/operator_diagnose_test.go +++ b/command/operator_diagnose_test.go @@ -354,8 +354,5 @@ func compareResult(exp *diagnose.Result, act *diagnose.Result) error { return compareResults(exp.Children, act.Children) } - if len(exp.Children) > 0 { - return compareResults(exp.Children, act.Children) - } return nil }