diff options
Diffstat (limited to 'pkg/integration/components/runner.go')
-rw-r--r-- | pkg/integration/components/runner.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/integration/components/runner.go b/pkg/integration/components/runner.go index 40921fee9..32acdf25f 100644 --- a/pkg/integration/components/runner.go +++ b/pkg/integration/components/runner.go @@ -2,7 +2,6 @@ package components import ( "fmt" - "io/ioutil" "os" "os/exec" "path/filepath" @@ -222,7 +221,7 @@ func findOrCreateDir(path string) { func deleteAndRecreateEmptyDir(path string) { // remove contents of integration test directory - dir, err := ioutil.ReadDir(path) + dir, err := os.ReadDir(path) if err != nil { if os.IsNotExist(err) { err = os.Mkdir(path, 0o777) |