Skip to content

Commit

Permalink
Fix incompatible issue for golang 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheng Pan committed Nov 27, 2019
1 parent a283d6b commit 729255b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ var (
)

func init() {
testing.Init()
// k8s.io/kubernetes/test/e2e/framework requires env KUBECONFIG to be set
// it does not fall back to defaults
if os.Getenv(kubeconfigEnvVar) == "" {
Expand Down

0 comments on commit 729255b

Please sign in to comment.