mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #125401 from bitoku/fix-fail-message
Fix E2E error message
This commit is contained in:
commit
3fdf06ae08
@ -536,7 +536,7 @@ var _ = SIGDescribe("InitContainer", framework.WithNodeConformance(), func() {
|
||||
return false, nil
|
||||
}
|
||||
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]
|
||||
if status.State.Terminated == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user