mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Add a liveness and readiness describer to pods
Also shorten the Last Termination State label so the page is denser.
This commit is contained in:
@@ -268,7 +268,7 @@ func TestDescribeContainers(t *testing.T) {
|
||||
ContainerStatuses: []api.ContainerStatus{testCase.status},
|
||||
},
|
||||
}
|
||||
describeContainers(&pod, out)
|
||||
DescribeContainers(pod.Spec.Containers, pod.Status.ContainerStatuses, EnvValueRetriever(&pod), out)
|
||||
output := out.String()
|
||||
for _, expected := range testCase.expectedElements {
|
||||
if !strings.Contains(output, expected) {
|
||||
|
||||
Reference in New Issue
Block a user