Skip to content

Commit

Permalink
Merge pull request #13444 from presztak/tunnel_docker_hard_coded
Browse files Browse the repository at this point in the history
Fix hard coded docker driver in minikube tunnel command
  • Loading branch information
medyagh authored Jan 24, 2022
2 parents 66e9969 + 0f9564b commit a883531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/minikube/cmd/tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ var tunnelCmd = &cobra.Command{

if driver.NeedsPortForward(co.Config.Driver) {

port, err := oci.ForwardedPort(oci.Docker, cname, 22)
port, err := oci.ForwardedPort(co.Config.Driver, cname, 22)
if err != nil {
exit.Error(reason.DrvPortForward, "error getting ssh port", err)
}
Expand Down

0 comments on commit a883531

Please sign in to comment.