mirror of
https://github.com/containers/podman.git
synced 2025-11-28 17:18:58 +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:
@@ -19,6 +19,7 @@ func skipIfAppArmorEnabled() {
|
||||
Skip("Apparmor is enabled")
|
||||
}
|
||||
}
|
||||
|
||||
func skipIfAppArmorDisabled() {
|
||||
if !apparmor.IsEnabled() {
|
||||
Skip("Apparmor is not enabled")
|
||||
@@ -26,7 +27,6 @@ func skipIfAppArmorDisabled() {
|
||||
}
|
||||
|
||||
var _ = Describe("Podman run", func() {
|
||||
|
||||
It("podman run apparmor default", func() {
|
||||
skipIfAppArmorDisabled()
|
||||
session := podmanTest.Podman([]string{"create", ALPINE, "ls"})
|
||||
|
||||
Reference in New Issue
Block a user