mirror of
https://github.com/docker/compose.git
synced 2026-11-17 13:45:39 +00:00
The documented contract of EventProcessor.Done is success == true when the operation succeeded, but Run was passing err != nil, so custom processors received an inverted value. No built-in writer uses the argument, which is why this went unnoticed. Pass err == nil, document the meaning of success on the interface, and add a test covering both the success and the failure case. Fixes #14498 Signed-off-by: Guillaume Lours <glours@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| api.go | ||
| api_test.go | ||
| context.go | ||
| env.go | ||
| errors.go | ||
| errors_test.go | ||
| event.go | ||
| feature.go | ||
| labels.go | ||
| labels_test.go | ||
| up_options.go | ||
| up_options_test.go | ||