Skip to content

Commit e85e9cd

Browse files
authored
Merge branch 'main' into template-textanalyzer-message
2 parents 6f997a4 + a0a6a5b commit e85e9cd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/analyze/deployment_status.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ func analyzeOneDeploymentStatus(analyzer *troubleshootv1beta2.DeploymentStatus,
5555
}
5656
}
5757

58+
if result == nil {
59+
return nil, nil
60+
}
61+
5862
return []*AnalyzeResult{result}, nil
5963
}
6064

0 commit comments

Comments
 (0)