Skip to content

Commit

Permalink
alessiodionisi: update cmd/minikube/cmd/start_flags.go
Browse files Browse the repository at this point in the history
make check and exit message consistent with socket_vmnet

Co-authored-by: Alessio Dionisi <[email protected]>
  • Loading branch information
prezha and alessiodionisi committed Feb 27, 2024
1 parent 2ac42a9 commit b727b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/minikube/cmd/start_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@ func getNetwork(driverName string) string {
switch n {
case "vmnet-host", "vmnet-shared", "vmnet-bridged":
//TODO: check if QEMU v7.1+ version is installed
if runtime.GOOS == "windows" {
exit.Message(reason.Usage, "The vmnet network is not yet supported on windows")
if runtime.GOOS != "Darwin" {
exit.Message(reason.Usage, "The vmnet-* network is only supported on macOS")
}
case "socket_vmnet":
if runtime.GOOS != "darwin" {
Expand Down

0 comments on commit b727b01

Please sign in to comment.