diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-04-29 11:31:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-29 11:31:39 -0400 |
commit | 95ff349de22e01eaa76cfc19891cc37952789b82 (patch) | |
tree | ddfaeb501528c01a93624e357774116f4819f210 /test/e2e/save_test.go | |
parent | 73836e0c6a22d919dd8be297bafd137f1bd8ec9e (diff) | |
parent | e6557bf0a291f4462081e50461b1b9b8715d1da3 (diff) | |
download | podman-95ff349de22e01eaa76cfc19891cc37952789b82.tar.gz podman-95ff349de22e01eaa76cfc19891cc37952789b82.tar.bz2 podman-95ff349de22e01eaa76cfc19891cc37952789b82.zip |
Merge pull request #14031 from Luap99/errcheck
enable errcheck linter
Diffstat (limited to 'test/e2e/save_test.go')
-rw-r--r-- | test/e2e/save_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/e2e/save_test.go b/test/e2e/save_test.go index 39295608e..536eefda7 100644 --- a/test/e2e/save_test.go +++ b/test/e2e/save_test.go @@ -170,7 +170,8 @@ var _ = Describe("Podman save", func() { } defer func() { cmd = exec.Command("cp", "default.yaml", "/etc/containers/registries.d/default.yaml") - cmd.Run() + err := cmd.Run() + Expect(err).ToNot(HaveOccurred()) }() cmd = exec.Command("cp", "sign/key.gpg", "/tmp/key.gpg") |