mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
Fix API fields to use new int32 sizes
This commit is contained in:
parent
61471965d8
commit
898df1f52b
@ -1266,8 +1266,8 @@ func TestGetListener(t *testing.T) {
|
|||||||
annotations[ServiceAnnotationLoadBalancerCertificate] = test.certAnnotation
|
annotations[ServiceAnnotationLoadBalancerCertificate] = test.certAnnotation
|
||||||
}
|
}
|
||||||
l, err := getListener(api.ServicePort{
|
l, err := getListener(api.ServicePort{
|
||||||
NodePort: int(test.instancePort),
|
NodePort: int32(test.instancePort),
|
||||||
Port: int(test.lbPort),
|
Port: int32(test.lbPort),
|
||||||
Protocol: api.Protocol("tcp"),
|
Protocol: api.Protocol("tcp"),
|
||||||
}, annotations)
|
}, annotations)
|
||||||
if test.expectError {
|
if test.expectError {
|
||||||
|
Loading…
Reference in New Issue
Block a user