mirror of
https://github.com/docker/compose.git
synced 2026-11-17 21:57:19 +00:00
`docker compose cp` fanned out to every matched container through a bare unbounded errgroup, ignoring --parallel entirely -- the same class of gap already closed everywhere else in this package. Routed it through the existing forEachContainerConcurrent helper instead of a bespoke fan-out. inspectWithSlot and doLogContainer both release a semaphore slot early via an explicit call rather than a defer, so a panic between acquire and that release leaked the slot forever. Guarded both with a panic-safe release, scoped tightly in doLogContainer so a later panic in the same function can't trigger a double release. Signed-off-by: Guillaume Lours <glours@users.noreply.github.com> Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| bridge | ||
| compose | ||
| dryrun | ||
| e2e | ||
| mocks | ||
| remote | ||
| utils | ||
| watch | ||