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

Fix #303111: dockerd leaks ExecIds on failed exec -i

Signed-off-by: Dmitry Shyshkin <dmitry@shyshkin.org.ua>
This commit is contained in:
Dmitry Shyshkin 2017-01-21 13:35:54 +02:00
parent be6481041d
commit 3cc0d6bb04
4 changed files with 79 additions and 24 deletions

View file

@ -54,6 +54,7 @@ func GetHTTPErrorStatusCode(err error) int {
code int
}{
{"not found", http.StatusNotFound},
{"cannot find", http.StatusNotFound},
{"no such", http.StatusNotFound},
{"bad parameter", http.StatusBadRequest},
{"no command", http.StatusBadRequest},