mirror of https://github.com/docker/docs.git
When docker pull a non-existent repo, daemon will report "image xxx not found" with an error code 500, which should be 404. This commit add 404 "not found" mapping and refactor httpError function. Signed-off-by: Zhang Wei <zhangwei555@huawei.com> |
||
---|---|---|
.. | ||
form.go | ||
form_test.go | ||
profiler.go | ||
server.go | ||
server_linux.go | ||
server_unit_test.go | ||
server_windows.go | ||
tcp_socket.go | ||
unix_socket.go |