[BUG] writer associated with ctx via progress.WithContextWriter(ctx, writer)
from external is not respeced
#10091
Labels
progress.WithContextWriter(ctx, writer)
from external is not respeced
#10091
Description
Trying to write a code in Go to interact with docker compose. The interaction includes reading messages from a custom writer associated with
ctx
viaprogress.WithContextWriter(ctx, writer)
Steps To Reproduce
See code at https://go.dev/play/p/xBTIGKO3pzR
Notice the lines
In the https://github.com/docker/compose/blob/v2/pkg/progress/writer.go, the custom writer is overriden:
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: