mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Merge pull request #70923 from m1kola/fix_e2e_err_message
Fixes error message in e2e tests for kubectl port-forward
This commit is contained in:
commit
d2bd29fcee
@ -189,7 +189,7 @@ func runPortForward(ns, podName string, port int) *portForwardCommand {
|
|||||||
|
|
||||||
listenPort, err := strconv.Atoi(match[2])
|
listenPort, err := strconv.Atoi(match[2])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
framework.Failf("Error converting %s to an int: %v", match[1], err)
|
framework.Failf("Error converting %s to an int: %v", match[2], err)
|
||||||
}
|
}
|
||||||
|
|
||||||
return &portForwardCommand{
|
return &portForwardCommand{
|
||||||
|
Loading…
Reference in New Issue
Block a user