Merge pull request #117631 from skitt/intstr-fromint32-testing

Test: use new intstr functions
This commit is contained in:
Kubernetes Prow Robot
2023-08-15 15:16:27 -07:00
committed by GitHub
32 changed files with 93 additions and 93 deletions

View File

@@ -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)},
},
},
}