Merge pull request #1032 from Random-Liu/small-code-cleanup

Don't use string when there is a constant.
This commit is contained in:
Lantao Liu
2019-01-24 12:58:16 -08:00
committed by GitHub

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),
) )