From 94d043be8ce99ba13c13ea3c47bec82f94f35cf5 Mon Sep 17 00:00:00 2001 From: aonoa <1991849113@qq.com> Date: Mon, 25 Apr 2022 15:47:24 +0800 Subject: Modify the pod name suffix '_pod' to '-pod' Signed-off-by: aonoa <1991849113@qq.com> --- test/e2e/generate_kube_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/e2e') diff --git a/test/e2e/generate_kube_test.go b/test/e2e/generate_kube_test.go index 44c906eed..9c99c3d93 100644 --- a/test/e2e/generate_kube_test.go +++ b/test/e2e/generate_kube_test.go @@ -71,7 +71,7 @@ var _ = Describe("Podman generate kube", func() { Expect(pod.Spec.DNSConfig).To(BeNil()) Expect(pod.Spec.Containers[0].WorkingDir).To(Equal("")) Expect(pod.Spec.Containers[0].Env).To(BeNil()) - Expect(pod.Name).To(Equal("top_pod")) + Expect(pod.Name).To(Equal("top-pod")) numContainers := 0 for range pod.Spec.Containers { -- cgit v1.2.3-54-g00ecf