Skip to content

Commit

Permalink
fix: show all terminating pods in Faults view (derailed#2738)
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesdigital committed Oct 27, 2024
1 parent be1ec87 commit a4ba048
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 @@ -169,6 +169,9 @@ func (p Pod) diagnose(phase string, cr, ct int) error {
if phase == Completed {
return nil
}
if phase == Terminating {
return fmt.Errorf("pod is terminating")
}
if cr != ct || ct == 0 {
return fmt.Errorf("container ready check failed: %d of %d", cr, ct)
}
Expand Down

0 comments on commit a4ba048

Please sign in to comment.