Skip to content

Commit

Permalink
feat: add irregular pod terminations to Faults view (#2738) (#2935)
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesdigital authored Nov 3, 2024
1 parent faa7a1d commit 59918d0
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 59918d0

Please sign in to comment.