Skip to content

fix(cli): ensure that the support bundle command does not panic on zero values #14392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update cli/support.go
Co-authored-by: Danny Kopping <danny@coder.com>
  • Loading branch information
johnstcn and dannykopping authored Aug 22, 2024
commit 99e396aabfa7a60e637b6b07da59147459eb0203
1 change: 0 additions & 1 deletion cli/support.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ func summarizeBundle(inv *serpent.Invocation, bun *support.Bundle) {
cliui.Error(inv.Stdout, "No deployment health report available!")
return
}

deployHealthSummary := bun.Deployment.HealthReport.Summarize(docsURL)
if len(deployHealthSummary) > 0 {
cliui.Warn(inv.Stdout, "Deployment health issues detected:", deployHealthSummary...)
Expand Down
Loading