File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,15 @@ package cmd
1919import (
2020 "flag"
2121 "fmt"
22- "k8s.io/minikube/pkg/minikube/notify"
23- "k8s.io/minikube/pkg/version"
2422 "os"
2523 "path/filepath"
2624 "runtime"
2725 "strings"
2826 "time"
2927
28+ "k8s.io/minikube/pkg/minikube/notify"
29+ "k8s.io/minikube/pkg/version"
30+
3031 "github.com/spf13/cobra"
3132 "github.com/spf13/pflag"
3233 "github.com/spf13/viper"
Original file line number Diff line number Diff line change @@ -17,11 +17,12 @@ limitations under the License.
1717package detect
1818
1919import (
20- . "github.com/klauspost/cpuid"
2120 "net/http"
2221 "os"
2322 "runtime"
2423 "strings"
24+
25+ "github.com/klauspost/cpuid"
2526)
2627
2728// IsMicrosoftWSL will return true if process is running in WSL in windows
@@ -49,5 +50,5 @@ func IsCloudShell() bool {
4950
5051// IsAmd64M1Emulation determines whether amd64 minikube binary is running on M1 mac in emulation mode
5152func IsAmd64M1Emulation () bool {
52- return runtime .GOARCH == "amd64" && strings .HasPrefix (CPU .BrandName , "VirtualApple" )
53- }
53+ return runtime .GOARCH == "amd64" && strings .HasPrefix (cpuid . CPU .BrandName , "VirtualApple" )
54+ }
You can’t perform that action at this time.
0 commit comments