From fe6359b98d759c5bdf0d6c8735462333135a45f1 Mon Sep 17 00:00:00 2001 From: lojies Date: Fri, 9 Sep 2016 17:35:21 +0800 Subject: [PATCH] add targetport to Failf --- test/e2e/kubectl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/kubectl.go b/test/e2e/kubectl.go index 9555a36f729..32a1ebaad26 100644 --- a/test/e2e/kubectl.go +++ b/test/e2e/kubectl.go @@ -696,7 +696,7 @@ var _ = framework.KubeDescribe("Kubectl client", func() { framework.Failf("Wrong service port: %d", port.Port) } if port.TargetPort.IntValue() != redisPort { - framework.Failf("Wrong target port: %d") + framework.Failf("Wrong target port: %d", port.TargetPort.IntValue()) } }