We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb6d2bf commit dbc68d9Copy full SHA for dbc68d9
pkg/lib/k8s/pod.go
@@ -171,11 +171,7 @@ func GetPodStatus(pod *kcore.Pod) PodStatus {
171
numKilled := 0
172
for _, containerStatus := range pod.Status.ContainerStatuses {
173
if containerStatus.State.Running != nil {
174
- if containerStatus.Ready {
175
- numRunning++
176
- } else {
177
- numWaiting++
178
- }
+ numRunning++
179
} else if containerStatus.State.Terminated != nil {
180
exitCode := containerStatus.State.Terminated.ExitCode
181
if exitCode == 0 {
0 commit comments