enable errcheck linter

The errcheck linter makes sure that errors are always check and not
ignored by accident. It spotted a lot of unchecked errors, mostly in the
tests but also some real problem in the code.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2022-04-27 14:28:38 +02:00
parent ab3e072a0c
commit 69c479b16e
130 changed files with 234 additions and 230 deletions

View File

@ -24,8 +24,6 @@ var _ = Describe("Podman commit", func() {
Expect(err).To(BeNil())
podmanTest = PodmanTestCreate(tempdir)
podmanTest.Setup()
err = podmanTest.SeedImages()
Expect(err).To(BeNil())
})
AfterEach(func() {