diff --git a/pkg/analyze/replicaset_status.go b/pkg/analyze/replicaset_status.go index d4bc2758..632cedc1 100644 --- a/pkg/analyze/replicaset_status.go +++ b/pkg/analyze/replicaset_status.go @@ -101,6 +101,10 @@ func analyzeOneReplicaSetStatus(analyzer *troubleshootv1beta2.ReplicaSetStatus, } } + if result == nil { + return nil, nil + } + return []*AnalyzeResult{result}, nil }