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:
@@ -38,7 +38,8 @@ func TestSeccompProfilePath(t *testing.T) {
|
||||
f := func(secopt string) (*specgen.SpecGenerator, error) {
|
||||
sg := specgen.NewSpecGenerator("nothing", false)
|
||||
err := FillOutSpecGen(sg, &entities.ContainerCreateOptions{
|
||||
SecurityOpt: []string{secopt}}, []string{},
|
||||
SecurityOpt: []string{secopt},
|
||||
}, []string{},
|
||||
)
|
||||
return sg, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user