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

@@ -23,7 +23,6 @@ import (
const TESTIMAGE = "quay.io/libpod/testimage:20241011"
var _ = Describe("run basic podman commands", func() {
It("Basic ops", func() {
name := randomString()
i := new(initMachine)
@@ -189,9 +188,11 @@ var _ = Describe("run basic podman commands", func() {
ctrName := "test"
bm := basicMachine{}
runAlp, err := mb.setCmd(bm.withPodmanCommand([]string{"run", "-dt", "--name", ctrName, "-p", "62544:80",
runAlp, err := mb.setCmd(bm.withPodmanCommand([]string{
"run", "-dt", "--name", ctrName, "-p", "62544:80",
"--stop-signal", "SIGKILL", TESTIMAGE,
"/bin/busybox-extras", "httpd", "-f", "-p", "80"})).run()
"/bin/busybox-extras", "httpd", "-f", "-p", "80",
})).run()
Expect(err).ToNot(HaveOccurred())
Expect(runAlp).To(Exit(0))
_, id, _ := strings.Cut(TESTIMAGE, ":")