Skip to content

Commit

Permalink
feat: add irregular pod terminations to Faults view (derailed#2738)
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesdigital committed Nov 1, 2024
1 parent 12ea38a commit 195a2f2
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 195a2f2

Please sign in to comment.