mirror of https://github.com/kubernetes/kops.git
Remove forcing disabled cgos Darwin
This commit is contained in:
parent
b550db283c
commit
2f1ad0c638
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue