mirror of
https://github.com/containers/podman.git
synced 2025-08-03 01:37:51 +08:00
e2e tests: cleanup: capitalize CONSTANTS
A number of standard image names were lower-case, leading to confusion in code such as: registry := podman(... , "-n", "registry", registry, ...) ^--- variable ^---- constant Fix a number of those to be capitalized and with _IMAGE suffix: registry := podman(..., REGISTRY_IMAGE Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -362,7 +362,7 @@ var _ = Describe("Podman commit", func() {
|
||||
Expect(images[0].Config.ExposedPorts).To(HaveKey("80/tcp"))
|
||||
|
||||
name = "testcon2"
|
||||
s = podmanTest.Podman([]string{"run", "--name", name, "-d", nginx})
|
||||
s = podmanTest.Podman([]string{"run", "--name", name, "-d", NGINX_IMAGE})
|
||||
s.WaitWithDefaultTimeout()
|
||||
Expect(s).Should(Exit(0))
|
||||
|
||||
|
Reference in New Issue
Block a user