mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
Merge pull request #125401 from bitoku/fix-fail-message
Fix E2E error message
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user