Merge pull request #1032 from Random-Liu/small-code-cleanup
Don't use string when there is a constant.
This commit is contained in:
commit
5d1a07e86c
@ -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),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user