mirror of https://github.com/k3s-io/k3s
Fix API fields to use new int32 sizes
parent
61471965d8
commit
898df1f52b
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue