Revert "Remove Init function from the parallels driver definition"

This reverts commit 70f4bc7964.
pull/9517/head
Mikhail Zholobov 2020-10-19 22:09:49 +02:00
parent fa27e41087
commit f7169e3a3f
No known key found for this signature in database
GPG Key ID: 467E2D8B15AE6DB3
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ import (
"os/exec"
parallels "github.com/Parallels/docker-machine-parallels"
"github.com/docker/machine/libmachine/drivers"
"k8s.io/minikube/pkg/minikube/config"
"k8s.io/minikube/pkg/minikube/download"
"k8s.io/minikube/pkg/minikube/driver"
@ -36,6 +37,7 @@ func init() {
Config: configure,
Status: status,
Priority: registry.Default,
Init: func() drivers.Driver { return parallels.NewDriver("", "") },
})
if err != nil {
panic(fmt.Sprintf("unable to register: %v", err))