mirror of https://github.com/k3s-io/k3s
Fixes error message in e2e tests
parent
8307fb2fb3
commit
b73b5bc99c
|
@ -184,7 +184,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