From 0f9564be8810c92fb6d4f4c77747b92d21b375f8 Mon Sep 17 00:00:00 2001 From: Piotr Resztak Date: Sun, 23 Jan 2022 22:22:22 +0100 Subject: [PATCH] remove hardcoded docker driver --- cmd/minikube/cmd/tunnel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/minikube/cmd/tunnel.go b/cmd/minikube/cmd/tunnel.go index adbe210c54ed..ac0ef218f2c3 100644 --- a/cmd/minikube/cmd/tunnel.go +++ b/cmd/minikube/cmd/tunnel.go @@ -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) }