Don't use string when there is a constant.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu 2019-01-24 11:45:16 -08:00
parent bf00de33a5
commit 9a455daf4d

View File

@ -84,7 +84,7 @@ func TestPodHostnameEnv(t *testing.T) {
t.Log("Create a container to print env") t.Log("Create a container to print env")
cnConfig := ContainerConfig( cnConfig := ContainerConfig(
containerName, containerName,
"busybox", testImage,
WithCommand("env"), WithCommand("env"),
WithLogPath(containerName), WithLogPath(containerName),
) )