Skip to content

Commit

Permalink
Update e2e/internal/kubeclient/portforward.go
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Meyer <[email protected]>
  • Loading branch information
burgerdev and katexochen authored Mar 5, 2024
1 parent 402f35f commit 6ae2ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/internal/kubeclient/portforward.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (k *Kubeclient) PortForwardPod(ctx context.Context, namespace, podName, rem
cleanUp := func() {
close(stopCh)
}
return fmt.Sprintf("localhost:%d", ports[0].Local), cleanUp, nil
return net.JoinHostPort("localhost", ports[0].Local), cleanUp, nil

case <-ctx.Done():
close(stopCh)
Expand Down

0 comments on commit 6ae2ce5

Please sign in to comment.