parent
faa7a1dfd6
commit
59918d0e89
|
|
@ -172,6 +172,9 @@ func (p Pod) diagnose(phase string, cr, ct int) error {
|
||||||
if cr != ct || ct == 0 {
|
if cr != ct || ct == 0 {
|
||||||
return fmt.Errorf("container ready check failed: %d of %d", cr, ct)
|
return fmt.Errorf("container ready check failed: %d of %d", cr, ct)
|
||||||
}
|
}
|
||||||
|
if phase == Terminating {
|
||||||
|
return fmt.Errorf("pod is terminating")
|
||||||
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue