summaryrefslogtreecommitdiff
path: root/test/e2e/libpod_suite_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-21 22:02:30 +0200
committerGitHub <noreply@github.com>2022-09-21 22:02:30 +0200
commitecaefee43495eed3e387b5cdbd416d85ddaa2254 (patch)
treea5cff50ad7a4fd0d923f8dc97326a5b28261b54b /test/e2e/libpod_suite_test.go
parent12655484e39eadbc0fa0607542aa4a49a21013a1 (diff)
parentba6f84666ba601480951248a48d233eff2880ec1 (diff)
downloadpodman-ecaefee43495eed3e387b5cdbd416d85ddaa2254.tar.gz
podman-ecaefee43495eed3e387b5cdbd416d85ddaa2254.tar.bz2
podman-ecaefee43495eed3e387b5cdbd416d85ddaa2254.zip
Merge pull request #15890 from cevich/more_ioutil_fixes
Fix a few missed io/ioutil -> os updates
Diffstat (limited to 'test/e2e/libpod_suite_test.go')
-rw-r--r--test/e2e/libpod_suite_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/e2e/libpod_suite_test.go b/test/e2e/libpod_suite_test.go
index ecb7a2278..b797fbb89 100644
--- a/test/e2e/libpod_suite_test.go
+++ b/test/e2e/libpod_suite_test.go
@@ -5,7 +5,6 @@ package integration
import (
"fmt"
- "io/ioutil"
"os"
"path/filepath"
@@ -48,7 +47,7 @@ func (p *PodmanTestIntegration) setDefaultRegistriesConfigEnv() {
func (p *PodmanTestIntegration) setRegistriesConfigEnv(b []byte) {
outfile := filepath.Join(p.TempDir, "registries.conf")
os.Setenv("CONTAINERS_REGISTRIES_CONF", outfile)
- err := ioutil.WriteFile(outfile, b, 0644)
+ err := os.WriteFile(outfile, b, 0644)
Expect(err).ToNot(HaveOccurred())
}