Merge pull request #32365 from lojies/addporttokubectl

Automatic merge from submit-queue

add targetport to framework.Failf()

add target port value to framework.Failf()
This commit is contained in:
Kubernetes Submit Queue 2016-09-12 00:08:19 -07:00 committed by GitHub
commit 64e914b8da

View File

@ -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())
}
}