mirror of
https://github.com/containers/podman.git
synced 2025-11-29 17:48: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:
@@ -35,7 +35,7 @@ var _ = Describe("Systemd activate", func() {
|
||||
switch {
|
||||
case errors.Is(err, fs.ErrNotExist):
|
||||
Skip(activate + " required for systemd activation tests")
|
||||
case stat.Mode()&0111 == 0:
|
||||
case stat.Mode()&0o111 == 0:
|
||||
Skip("Unable to execute " + activate)
|
||||
case err != nil:
|
||||
Skip(err.Error())
|
||||
@@ -56,7 +56,8 @@ var _ = Describe("Systemd activate", func() {
|
||||
"-E", "HTTP_PROXY", "-E", "HTTPS_PROXY", "-E", "NO_PROXY",
|
||||
"-E", "XDG_RUNTIME_DIR",
|
||||
"--listen", addr,
|
||||
podmanTest.PodmanBinary}
|
||||
podmanTest.PodmanBinary,
|
||||
}
|
||||
systemdArgs = append(systemdArgs, podmanOptions...)
|
||||
systemdArgs = append(systemdArgs, "system", "service", "--time=0")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user