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:
@@ -19,9 +19,8 @@ func ContainerOp(ctx context.Context, ctrs []*libpod.Container, applyFunc func(*
|
||||
// just use a lock on a normal map...
|
||||
// The expectation is that most of the time is spent in applyFunc
|
||||
// anyways.
|
||||
var (
|
||||
errMap = make(map[*libpod.Container]<-chan error)
|
||||
)
|
||||
|
||||
errMap := make(map[*libpod.Container]<-chan error)
|
||||
|
||||
for _, ctr := range ctrs {
|
||||
c := ctr
|
||||
|
||||
Reference in New Issue
Block a user