Skip to content

Commit 2a0c61d

Browse files
committed
fix lint
1 parent fdb08e2 commit 2a0c61d

File tree

1 file changed

+2
-3
lines changed
  • pkg/minikube/cluster

1 file changed

+2
-3
lines changed

pkg/minikube/cluster/ip.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,9 @@ func HostIP(host *host.Host, clusterName string) (net.IP, error) {
6868
if ipString == "127.0.0.1" {
6969
// user network case
7070
return net.ParseIP("10.0.2.2"), nil
71-
} else {
72-
// socket_vmnet network case
73-
return net.ParseIP("192.168.105.1"), nil
7471
}
72+
// socket_vmnet network case
73+
return net.ParseIP("192.168.105.1"), nil
7574
case driver.HyperV:
7675
v := reflect.ValueOf(host.Driver).Elem()
7776
var hypervVirtualSwitch string

0 commit comments

Comments
 (0)