mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-09-07 18:20:36 +00:00
feat: fix the custom-analysis printing (#1195)
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
This commit is contained in:
@@ -173,6 +173,8 @@ func (a *Analysis) RunCustomAnalysis() {
|
||||
|
||||
result, err := canClient.Run()
|
||||
if err != nil {
|
||||
a.Errors = append(a.Errors, fmt.Sprintf("[%s] %s", cAnalyzer.Name, err))
|
||||
} else {
|
||||
a.Results = append(a.Results, result)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user