From 119d95cb3103ecb91a4d10b6549f4fcbb28a925d Mon Sep 17 00:00:00 2001 From: Curtis Carter Date: Tue, 17 Dec 2019 13:23:30 -0600 Subject: [PATCH] Fixed format of IPV6 address and port --- cmd/minikube/cmd/start.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/minikube/cmd/start.go b/cmd/minikube/cmd/start.go index d1e4fbec98f9..c9ce1ca67dbf 100644 --- a/cmd/minikube/cmd/start.go +++ b/cmd/minikube/cmd/start.go @@ -1061,7 +1061,7 @@ func validateNetwork(h *host.Host, r command.Runner) string { } func trySSH(h *host.Host, ip string) { - sshAddr := fmt.Sprintf("%s:22", ip) + sshAddr := net.JoinHostPort(ip, "22") dial := func() (err error) { d := net.Dialer{Timeout: 3 * time.Second}