mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
Fix API fields to use new int32 sizes
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user