mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +00:00
Fix svcPort to cast to int
This commit is contained in:
parent
8dda27f9d4
commit
b1e284fd55
@ -287,7 +287,7 @@ func testService(f *framework.Framework, sem *chaosmonkey.Semaphore, testDuringD
|
||||
|
||||
// Get info to hit it with
|
||||
tcpIngressIP := getIngressPoint(&tcpService.Status.LoadBalancer.Ingress[0])
|
||||
svcPort := tcpService.Spec.Ports[0].Port
|
||||
svcPort := int(tcpService.Spec.Ports[0].Port)
|
||||
|
||||
By("creating pod to be part of service " + serviceName)
|
||||
// TODO newRCTemplate only allows for the creation of one replica... that probably won't
|
||||
|
Loading…
Reference in New Issue
Block a user