diff options
author | Chris Evich <cevich@redhat.com> | 2022-09-21 10:51:21 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2022-09-21 14:14:55 -0400 |
commit | ba6f84666ba601480951248a48d233eff2880ec1 (patch) | |
tree | a5cff50ad7a4fd0d923f8dc97326a5b28261b54b /test/e2e/secret_test.go | |
parent | 12655484e39eadbc0fa0607542aa4a49a21013a1 (diff) | |
download | podman-ba6f84666ba601480951248a48d233eff2880ec1.tar.gz podman-ba6f84666ba601480951248a48d233eff2880ec1.tar.bz2 podman-ba6f84666ba601480951248a48d233eff2880ec1.zip |
Fix a few missed io/ioutil -> os updates
Ref: https://github.com/containers/podman/pull/15871
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'test/e2e/secret_test.go')
-rw-r--r-- | test/e2e/secret_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/secret_test.go b/test/e2e/secret_test.go index e28d415db..286815e67 100644 --- a/test/e2e/secret_test.go +++ b/test/e2e/secret_test.go @@ -311,7 +311,7 @@ var _ = Describe("Podman secret", func() { It("podman secret with labels", func() { secretFilePath := filepath.Join(podmanTest.TempDir, "secret") - err := ioutil.WriteFile(secretFilePath, []byte("mysecret"), 0755) + err := os.WriteFile(secretFilePath, []byte("mysecret"), 0755) Expect(err).To(BeNil()) session := podmanTest.Podman([]string{"secret", "create", "--label", "foo=bar", "a", secretFilePath}) |