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

@@ -13,7 +13,6 @@ import (
)
var _ = Describe("Podman init containers", func() {
It("podman create init container without --pod should fail", func() {
session := podmanTest.Podman([]string{"create", "--init-ctr", "always", ALPINE, "top"})
session.WaitWithDefaultTimeout()
@@ -104,7 +103,6 @@ var _ = Describe("Podman init containers", func() {
doubleCheck := podmanTest.Podman([]string{"exec", verify.OutputToString(), "cat", filename})
doubleCheck.WaitWithDefaultTimeout()
Expect(doubleCheck).Should(ExitWithError(1, fmt.Sprintf("cat: can't open '%s': No such file or directory", filename)))
})
It("podman ensure always init containers always run", func() {
@@ -141,5 +139,4 @@ var _ = Describe("Podman init containers", func() {
// Dates should not match
Expect(firstResult).ToNot(Equal(secondCheckLog.OutputToString()))
})
})