Merge pull request #117631 from skitt/intstr-fromint32-testing
Test: use new intstr functions
This commit is contained in:
@@ -161,7 +161,7 @@ func TestEndpointSliceTerminating(t *testing.T) {
|
||||
"foo": "bar",
|
||||
},
|
||||
Ports: []corev1.ServicePort{
|
||||
{Name: "port-443", Port: 443, Protocol: "TCP", TargetPort: intstr.FromInt(443)},
|
||||
{Name: "port-443", Port: 443, Protocol: "TCP", TargetPort: intstr.FromInt32(443)},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user