summaryrefslogtreecommitdiffstats
path: root/pkg/integration/deprecated/integration.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/integration/deprecated/integration.go')
-rw-r--r--pkg/integration/deprecated/integration.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/integration/deprecated/integration.go b/pkg/integration/deprecated/integration.go
index 2f9b2ab8c..b292809c9 100644
--- a/pkg/integration/deprecated/integration.go
+++ b/pkg/integration/deprecated/integration.go
@@ -178,7 +178,7 @@ func RunTests(
}
// get the log file and print it
- bytes, err := ioutil.ReadFile(filepath.Join(configDir, "development.log"))
+ bytes, err := os.ReadFile(filepath.Join(configDir, "development.log"))
if err != nil {
return err
}
@@ -324,7 +324,7 @@ func LoadTests(testDir string) ([]*IntegrationTest, error) {
tests := make([]*IntegrationTest, len(paths))
for i, path := range paths {
- data, err := ioutil.ReadFile(path)
+ data, err := os.ReadFile(path)
if err != nil {
return nil, err
}
@@ -406,7 +406,7 @@ func generateSnapshot(dir string) (string, error) {
return nil
}
- bytes, err := ioutil.ReadFile(path)
+ bytes, err := os.ReadFile(path)
if err != nil {
return err
}