enable gofumpt formatter

Based on our discussion gofumpt won the vote so use that one via
golangci-lint.

https://github.com/containers/podman/discussions/27291

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2025-11-11 12:12:42 +01:00
parent 2555b8b413
commit 5c1ed12d8d
389 changed files with 1228 additions and 1600 deletions

View File

@@ -32,7 +32,6 @@ var _ = Describe("Podman pause", func() {
Skip("freezer controller not available on the current kernel")
}
}
})
It("podman pause bogus container", func() {
@@ -110,7 +109,6 @@ var _ = Describe("Podman pause", func() {
Expect(result).Should(ExitWithError(125, fmt.Sprintf(`"%s" is not paused, can't unpause: container state improper`, cid)))
Expect(podmanTest.NumberOfContainersRunning()).To(Equal(1))
})
It("podman remove a paused container by id without force", func() {
@@ -194,7 +192,6 @@ var _ = Describe("Podman pause", func() {
result.WaitWithDefaultTimeout()
Expect(result).Should(ExitCleanly())
Expect(podmanTest.NumberOfContainersRunning()).To(Equal(0))
})
It("podman pause a running container by name", func() {
@@ -246,7 +243,6 @@ var _ = Describe("Podman pause", func() {
result.WaitWithDefaultTimeout()
Expect(result).Should(ExitCleanly())
Expect(podmanTest.NumberOfContainersRunning()).To(Equal(0))
})
It("Unpause all containers (no paused containers exist)", func() {