Skip to content

Commit

Permalink
Merge pull request #84 from k8sgpt-ai/chore/status-okay
Browse files Browse the repository at this point in the history
chore: return success on no issues
  • Loading branch information
AlexsJones authored Mar 27, 2023
2 parents f01f877 + 009f47c commit e113bf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/analyze/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ var AnalyzeCmd = &cobra.Command{
var bar *progressbar.ProgressBar
if len(*analysisResults) > 0 {
bar = progressbar.Default(int64(len(*analysisResults)))
} else {
color.Green("{ \"status\": \"OK\" }")
os.Exit(0)
}

// This variable is used to store the results that will be printed
Expand Down

0 comments on commit e113bf7

Please sign in to comment.