mirror of
https://github.com/docker/compose.git
synced 2026-11-17 13:45:39 +00:00
Exec, port, export, commit and attach fail with "service X is not running" when they find no container to act on. A program driving Compose as a library could only recognise that failure by matching the message. Return a ServiceNotRunningError, which matches the new ErrNotRunning and carries the service and the replica index. The message is unchanged. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> |
||
|---|---|---|
| .. | ||
| api.go | ||
| api_test.go | ||
| context.go | ||
| create_options.go | ||
| create_options_test.go | ||
| doc.go | ||
| env.go | ||
| errors.go | ||
| errors_test.go | ||
| event.go | ||
| feature.go | ||
| labels.go | ||
| labels_test.go | ||
| up_options.go | ||
| up_options_test.go | ||