mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Implement similar logic as is used in httputils.ReadJSON(). Before this patch, endpoints using the ContainerDecoder would incorrectly return a 500 (internal server error) status. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
|---|---|---|
| .. | ||
| fixtures | ||
| opts | ||
| config.go | ||
| config_test.go | ||
| config_unix.go | ||
| config_windows.go | ||
| errors.go | ||
| hostconfig.go | ||
| hostconfig_test.go | ||
| hostconfig_unix.go | ||
| hostconfig_windows.go | ||
| hostconfig_windows_test.go | ||