mirror of
https://github.com/containers/podman.git
synced 2025-11-30 01:58:46 +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:
@@ -312,6 +312,7 @@ func MakeContainer(ctx context.Context, rt *libpod.Runtime, s *specgen.SpecGener
|
||||
}
|
||||
return runtimeSpec, s, options, err
|
||||
}
|
||||
|
||||
func ExecuteCreate(ctx context.Context, rt *libpod.Runtime, runtimeSpec *specs.Spec, s *specgen.SpecGenerator, infra bool, options ...libpod.CtrCreateOption) (*libpod.Container, error) {
|
||||
ctr, err := rt.NewContainer(ctx, runtimeSpec, s, infra, options...)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user