diff options
author | aonoa <1991849113@qq.com> | 2022-04-25 15:47:24 +0800 |
---|---|---|
committer | aonoa <1991849113@qq.com> | 2022-04-25 15:47:24 +0800 |
commit | 94d043be8ce99ba13c13ea3c47bec82f94f35cf5 (patch) | |
tree | 1c14bf0d4bb572167fcda9690bc6d66bd0ab2d9b /test/e2e/generate_kube_test.go | |
parent | ba6356280a86531d3cda7016859aef98bb3d8272 (diff) | |
download | podman-94d043be8ce99ba13c13ea3c47bec82f94f35cf5.tar.gz podman-94d043be8ce99ba13c13ea3c47bec82f94f35cf5.tar.bz2 podman-94d043be8ce99ba13c13ea3c47bec82f94f35cf5.zip |
Modify the pod name suffix '_pod' to '-pod'
Signed-off-by: aonoa <1991849113@qq.com>
Diffstat (limited to 'test/e2e/generate_kube_test.go')
-rw-r--r-- | test/e2e/generate_kube_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |