SIGN IN SIGN UP
docker / compose UNCLAIMED

Define and run multi-container applications with Docker

0 0 63 Go

fix: use pointer receivers for composeService methods with sync.Once fields

Moving runtimeVersionCache from a package-level var to instance fields on
composeService caused copylocks violations in methods using value receivers,
since sync.Once contains sync.noCopy. Switch the 4 affected methods to
pointer receivers.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
G
Guillaume Lours committed
c7d1a6030e5f632656fc81f794bfba6870675c9c
Parent: 5f6f35e
Committed by Nicolas De loof <nicolas.deloof@gmail.com> on 3/31/2026, 12:39:37 PM