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:
parent
be6481041d
commit
3cc0d6bb04
4 changed files with 79 additions and 24 deletions
|
@ -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},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue