diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-09-21 22:02:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-21 22:02:30 +0200 |
commit | ecaefee43495eed3e387b5cdbd416d85ddaa2254 (patch) | |
tree | a5cff50ad7a4fd0d923f8dc97326a5b28261b54b /test/e2e/libpod_suite_test.go | |
parent | 12655484e39eadbc0fa0607542aa4a49a21013a1 (diff) | |
parent | ba6f84666ba601480951248a48d233eff2880ec1 (diff) | |
download | podman-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.go | 3 |
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()) } |