Skip to content

Commit

Permalink
feat: add irregular pod terminations to Faults view (derailed#2738) (d…
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesdigital authored and thorbenbelow committed Nov 10, 2024
1 parent 86d3729 commit 32f3766
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/render/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ func (p Pod) diagnose(phase string, cr, ct int) error {
if cr != ct || ct == 0 {
return fmt.Errorf("container ready check failed: %d of %d", cr, ct)
}
if phase == Terminating {
return fmt.Errorf("pod is terminating")
}

return nil
}
Expand Down

0 comments on commit 32f3766

Please sign in to comment.