mirror of
https://github.com/docker/compose.git
synced 2026-11-18 14:13:49 +00:00
Production: - detached and interactive up prepare their plan the same way: prepareUp holds the preparation and the --wait-timeout rationale both share, so the two cannot diverge; - useAPISocket leaves alone a project it already transformed. The session, the watcher and the teardown now work on the plan's own project, which a watch rebuild hands to a later plan: transforming it again mounted the socket and the config file twice; - the docs say what the code does: an interruption met while reading the daemon's time is returned wrapping the context's error (the CLI maps it to its interruption exit code), Up ignores StartOptions.Project and does not verify StartOptions.Wait in the foreground, and the Start phase's listener goes through runStart. Tests: - the Start phase is shown to survive the caller's cancellation, and an interruption before it to start nothing; - the dry-run test no longer claims to exercise the dry-run client: it pins the gate of Up; - the phase order test also checks the "up" scope opens before the create; - useAPISocket's idempotence is tested. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.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 | ||