moby/api/server/router
Cory Snider 4d924c35f7 api/server: allow empty body for POST /commit again
The error returned by DecodeConfig was changed in
b6d58d749c and caused this to regress.
Allow empty request bodies for this endpoint once again.

Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit 967c7bc5d3)
Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-05-18 16:06:57 -04:00
..
build api/server: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00
checkpoint api/server/httputils: add ReadJSON() utility 2022-04-11 21:37:51 +02:00
container api/server: allow empty body for POST /commit again 2023-05-18 16:06:57 -04:00
debug Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
distribution api: add registry.DecodeAuthConfig, registry.DecodeAuthConfigBody 2022-07-29 23:11:13 +02:00
grpc api/server/router/grpc: fix some nits in NewRouter() 2022-04-07 16:06:15 +02:00
image api/inspect: Fix nil RepoTags and RepoDigests 2023-05-18 16:00:13 +02:00
network api/server/httputils: add ReadJSON() utility 2022-04-11 21:37:51 +02:00
plugin api: add registry.DecodeAuthConfig, registry.DecodeAuthConfigBody 2022-07-29 23:11:13 +02:00
session move /session api endpoint out of experimental 2018-08-21 22:43:34 +00:00
swarm api/s/r/swarm: log backend errors at Debug level 2023-02-15 13:49:43 -05:00
system implement docker system df 2022-11-02 09:35:18 +01:00
volume volumes: fix error-handling when removing volumes with swarm enabled 2023-03-13 19:17:35 +01:00
experimental.go fix typos 2018-09-01 21:26:38 +08:00
local.go api/server/router: use consts for HTTP methods 2019-11-26 21:55:29 +01:00
router.go Add canonical import comment 2018-02-05 16:51:57 -05:00