From 9a455daf4d085b6fc192668bca81b4e6f2bdc8fc Mon Sep 17 00:00:00 2001 From: Lantao Liu Date: Thu, 24 Jan 2019 11:45:16 -0800 Subject: [PATCH] Don't use string when there is a constant. Signed-off-by: Lantao Liu --- integration/pod_hostname_env_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/pod_hostname_env_test.go b/integration/pod_hostname_env_test.go index 0757ba25b..a317e3cd5 100644 --- a/integration/pod_hostname_env_test.go +++ b/integration/pod_hostname_env_test.go @@ -84,7 +84,7 @@ func TestPodHostnameEnv(t *testing.T) { t.Log("Create a container to print env") cnConfig := ContainerConfig( containerName, - "busybox", + testImage, WithCommand("env"), WithLogPath(containerName), )