mirror of
https://github.com/containers/podman.git
synced 2025-12-01 10:38:05 +08:00
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:
@@ -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()))
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user