Merge pull request #95672 from aojea/fixdnse2e

e2e don't use hardcoded name for containers name
This commit is contained in:
Kubernetes Prow Robot 2020-10-18 12:10:13 -07:00 committed by GitHub
commit b206f6695f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ func (t *dnsTestCommon) runDig(dnsName, target string) []string {
Command: cmd,
Namespace: t.f.Namespace.Name,
PodName: t.utilPod.Name,
ContainerName: "util",
ContainerName: t.utilPod.Spec.Containers[0].Name,
CaptureStdout: true,
CaptureStderr: true,
})