Fix API fields to use new int32 sizes

pull/6/head
Rudi Chiarito 2016-05-02 19:20:50 -04:00
parent 61471965d8
commit 898df1f52b
1 changed files with 2 additions and 2 deletions

View File

@ -1266,8 +1266,8 @@ func TestGetListener(t *testing.T) {
annotations[ServiceAnnotationLoadBalancerCertificate] = test.certAnnotation
}
l, err := getListener(api.ServicePort{
NodePort: int(test.instancePort),
Port: int(test.lbPort),
NodePort: int32(test.instancePort),
Port: int32(test.lbPort),
Protocol: api.Protocol("tcp"),
}, annotations)
if test.expectError {