Fix pod name in port forwarding log (#2178)
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
@@ -178,7 +178,7 @@ func runPortForward(labelSelector string, localPort string, ns string, kubeConte
|
|||||||
for _, servicePort := range service.Spec.Ports {
|
for _, servicePort := range service.Spec.Ports {
|
||||||
targetPort = servicePort.TargetPort.String()
|
targetPort = servicePort.TargetPort.String()
|
||||||
}
|
}
|
||||||
console.Verbose(2, "Connecting to port %v on pod %v/%v", targetPort, podNameSpace, podNameSpace)
|
console.Verbose(2, "Connecting to port %v on pod %v/%v", targetPort, podNameSpace, podName)
|
||||||
|
|
||||||
stopChannel := make(chan struct{}, 1)
|
stopChannel := make(chan struct{}, 1)
|
||||||
readyChannel := make(chan struct{})
|
readyChannel := make(chan struct{})
|
||||||
|
|||||||
Reference in New Issue
Block a user