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
commit 5d1a07e86c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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