From 47fe5b2822d371ebba177090a86b2e1292398867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Sat, 2 Nov 2019 08:58:27 +0100 Subject: [PATCH] Remove ping, was added in merge conflict Supposed to be removed in 361222f, along with some other random changes to comments and such. --- cmd/minikube/cmd/start.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmd/minikube/cmd/start.go b/cmd/minikube/cmd/start.go index ebc2dd8946..523d00ba4c 100644 --- a/cmd/minikube/cmd/start.go +++ b/cmd/minikube/cmd/start.go @@ -1024,7 +1024,6 @@ func validateNetwork(h *host.Host, r command.Runner) string { } tryLookup(r) - tryPing(r) tryRegistry(r) return ip } @@ -1058,13 +1057,6 @@ func tryLookup(r command.Runner) { } } -func tryPing(r command.Runner) { - // Try both UDP and ICMP to assert basic external connectivity - 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 { - out.WarningT("VM is unable to directly connect to the internet: {{.error}}", out.V{"error": err}) - } -} - func tryRegistry(r command.Runner) { // Try an HTTPS connection to the image repository proxy := os.Getenv("HTTPS_PROXY")