From 2f1ad0c638f58da6f67a4e8d6b9c834dc820ea7c Mon Sep 17 00:00:00 2001 From: Josh Branham Date: Mon, 11 Nov 2019 20:28:35 -0500 Subject: [PATCH] Remove forcing disabled cgos Darwin --- cmd/kops/validate_cluster.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmd/kops/validate_cluster.go b/cmd/kops/validate_cluster.go index ca679b0286..7fe67fee18 100644 --- a/cmd/kops/validate_cluster.go +++ b/cmd/kops/validate_cluster.go @@ -21,7 +21,6 @@ import ( "fmt" "io" "os" - "runtime" "strings" "time" @@ -38,13 +37,6 @@ import ( "k8s.io/kops/util/pkg/tables" ) -func init() { - if runtime.GOOS == "darwin" { - // In order for net.LookupHost(apiAddr.Host) to lookup our placeholder address on darwin, we have to - os.Setenv("GODEBUG", "netdns=go") - } -} - type ValidateClusterOptions struct { output string wait time.Duration