Skip to content

Commit

Permalink
feat: fix the custom-analysis printing (k8sgpt-ai#1195)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Jones <[email protected]>
Signed-off-by: Ronald Petty <[email protected]>
  • Loading branch information
AlexsJones authored and ronaldpetty committed Jul 17, 2024
1 parent 75351c5 commit 88a4dab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/analysis/analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 88a4dab

Please sign in to comment.