From 898df1f52b1fdabacb6c6b0f7faaf0e2691fad90 Mon Sep 17 00:00:00 2001 From: Rudi Chiarito Date: Mon, 2 May 2016 19:20:50 -0400 Subject: [PATCH] Fix API fields to use new int32 sizes --- pkg/cloudprovider/providers/aws/aws_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cloudprovider/providers/aws/aws_test.go b/pkg/cloudprovider/providers/aws/aws_test.go index aaf96e46bce..b2207093219 100644 --- a/pkg/cloudprovider/providers/aws/aws_test.go +++ b/pkg/cloudprovider/providers/aws/aws_test.go @@ -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 {