mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 06:01:50 +00:00
@@ -536,7 +536,7 @@ var _ = SIGDescribe("InitContainer", framework.WithNodeConformance(), func() {
|
|||||||
return false, nil
|
return false, nil
|
||||||
}
|
}
|
||||||
if status.State.Terminated != nil && status.State.Terminated.ExitCode != 0 {
|
if status.State.Terminated != nil && status.State.Terminated.ExitCode != 0 {
|
||||||
return false, fmt.Errorf("first init container should have exitCode != 0: %s", toDebugJSON(status))
|
return false, fmt.Errorf("first init container should have exitCode == 0: %s", toDebugJSON(status))
|
||||||
}
|
}
|
||||||
status = t.Status.InitContainerStatuses[1]
|
status = t.Status.InitContainerStatuses[1]
|
||||||
if status.State.Terminated == nil {
|
if status.State.Terminated == nil {
|
||||||
|
Reference in New Issue
Block a user