Skip to content

Commit 47fe5b2

Browse files
committed
Remove ping, was added in merge conflict
Supposed to be removed in 361222f, along with some other random changes to comments and such.
1 parent 3ac263f commit 47fe5b2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

cmd/minikube/cmd/start.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,6 @@ func validateNetwork(h *host.Host, r command.Runner) string {
10241024
}
10251025

10261026
tryLookup(r)
1027-
tryPing(r)
10281027
tryRegistry(r)
10291028
return ip
10301029
}
@@ -1058,13 +1057,6 @@ func tryLookup(r command.Runner) {
10581057
}
10591058
}
10601059

1061-
func tryPing(r command.Runner) {
1062-
// Try both UDP and ICMP to assert basic external connectivity
1063-
if err := r.Run("nslookup k8s.io 8.8.8.8 || nslookup k8s.io 1.1.1.1 || ping -c1 8.8.8.8"); err != nil {
1064-
out.WarningT("VM is unable to directly connect to the internet: {{.error}}", out.V{"error": err})
1065-
}
1066-
}
1067-
10681060
func tryRegistry(r command.Runner) {
10691061
// Try an HTTPS connection to the image repository
10701062
proxy := os.Getenv("HTTPS_PROXY")

0 commit comments

Comments
 (0)