mirror of
https://github.com/containers/podman.git
synced 2025-11-29 01:28:22 +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:
@@ -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, ":")
|
||||
|
||||
Reference in New Issue
Block a user