1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Make exec start return proper error codes

Exec start was sending HTTP 500 for every error.

Fixed an error where pausing a container and then calling exec start
caused the daemon to freeze.

Updated API docs which incorrectly showed that a successful exec start
was an HTTP 201, in reality it is HTTP 200.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
Brian Goff 2015-09-11 22:50:21 -04:00
parent 698e14902a
commit 2d43d93410
12 changed files with 102 additions and 43 deletions

View file

@ -1984,7 +1984,7 @@ Json Parameters:
Status Codes:
- **201** no error
- **200** no error
- **404** no such exec instance
**Stream details**: