Remove forcing disabled cgos Darwin

This commit is contained in:
Josh Branham 2019-11-11 20:28:35 -05:00
parent b550db283c
commit 2f1ad0c638
1 changed files with 0 additions and 8 deletions

View File

@ -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