Fix the rest of the code

This commit is contained in:
Clayton Coleman
2016-04-27 00:35:14 -04:00
parent 8d0187add2
commit fdb110c859
129 changed files with 625 additions and 663 deletions

View File

@@ -770,7 +770,7 @@ var _ = framework.KubeDescribe("Kubectl client", func() {
framework.Failf("1 port is expected")
}
port := service.Spec.Ports[0]
if port.Port != servicePort {
if port.Port != int32(servicePort) {
framework.Failf("Wrong service port: %d", port.Port)
}
if port.TargetPort.IntValue() != redisPort {