add targetport to Failf

This commit is contained in:
lojies
2016-09-09 17:35:21 +08:00
parent 884e32c8fd
commit fe6359b98d

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