Skip to content

Commit 3e86d0d

Browse files
author
Per Goncalves da Silva
committed
Migrate away from ioutil
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent de37a21 commit 3e86d0d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/e2e/ctx/provisioner_kind.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"encoding/csv"
99
"flag"
1010
"fmt"
11-
"io/ioutil"
1211
"os"
1312
"os/exec"
1413
"path/filepath"
@@ -69,7 +68,7 @@ func (kl kindLogAdapter) V(log.Level) log.InfoLogger {
6968
}
7069

7170
func Provision(ctx *TestContext) (func(), error) {
72-
dir, err := ioutil.TempDir("", "kind.")
71+
dir, err := os.TempDir("", "kind.")
7372
if err != nil {
7473
return nil, fmt.Errorf("failed to create temporary directory: %s", err.Error())
7574
}

0 commit comments

Comments
 (0)