Don't use string when there is a constant.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
parent
bf00de33a5
commit
9a455daf4d
@ -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