Fix port typo, fix tests

This commit is contained in:
Prashanth Balasubramanian 2015-11-17 18:13:36 -08:00
parent 65cdb12a1c
commit 4f3e007581

View File

@ -123,7 +123,7 @@ func svcByName(name string, port int) *api.Service {
"name": name, "name": name,
}, },
Ports: []api.ServicePort{{ Ports: []api.ServicePort{{
Port: 9376, Port: port,
TargetPort: intstr.FromInt(port), TargetPort: intstr.FromInt(port),
}}, }},
}, },