File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import (
29
29
"github.com/vladimirvivien/gexe"
30
30
)
31
31
32
- var kindVersion = "v0.11 .0"
32
+ var kindVersion = "v0.12 .0"
33
33
34
34
type Cluster struct {
35
35
name string
@@ -154,7 +154,7 @@ func (k *Cluster) Destroy() error {
154
154
155
155
func (k * Cluster ) findOrInstallKind (e * gexe.Echo ) error {
156
156
if e .Prog ().Avail ("kind" ) == "" {
157
- log .V (4 ).Infof (`kind not found, installing with GO111MODULE="on" go get sigs.k8s.io/kind@%s` , kindVersion )
157
+ log .V (4 ).Infof (`kind not found, installing with go install sigs.k8s.io/kind@%s` , kindVersion )
158
158
if err := k .installKind (e ); err != nil {
159
159
return err
160
160
}
@@ -167,8 +167,8 @@ func (k *Cluster) installKind(e *gexe.Echo) error {
167
167
kindVersion = k .version
168
168
}
169
169
170
- log .V (4 ).Infof ("Installing: go get sigs.k8s.io/kind@%s" , kindVersion )
171
- p := e .SetEnv ( "GO111MODULE" , "on" ). RunProc (fmt .Sprintf ("go get sigs.k8s.io/kind@%s" , kindVersion ))
170
+ log .V (4 ).Infof ("Installing: go install sigs.k8s.io/kind@%s" , kindVersion )
171
+ p := e .RunProc (fmt .Sprintf ("go install sigs.k8s.io/kind@%s" , kindVersion ))
172
172
if p .Err () != nil {
173
173
return fmt .Errorf ("failed to install kind: %s" , p .Err ())
174
174
}
You can’t perform that action at this time.
0 commit comments