The special handling to return the exit code after the container has
been removed should only be done if there are no special conditions
requested. If a user asked for running or nay other state returning the
exit code immediately with a success response is just wrong. We only
want to allow that so the remote client can fetch the exit code without
races.
Fixes
|
||
|---|---|---|
| .. | ||
| apiutil | ||
| containers.go | ||
| errors.go | ||
| handler.go | ||
| handler_test.go | ||
| images.go | ||