moby/api/server/router
Cory Snider 6f7d702f9c 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:11:33 -04:00
..
build api/server: fix empty-lines (revive) 2022-10-01 00:01:13 +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:11:33 -04:00
debug Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
distribution Remove more of registry v1 code. 2021-02-23 09:49:46 +01:00
grpc api/server/router/grpc: fix some nits in NewRouter() 2022-04-07 16:06:15 +02:00
image Move the inspect code away from the image service 2022-06-22 15:08:55 +02:00
network api/server/httputils: add ReadJSON() utility 2022-04-11 21:37:51 +02:00
plugin api/server/httputils: add ReadJSON() utility 2022-04-11 21:37:51 +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-16 11:30:06 -05:00
system api: add BuildCache.Parents for API >= v1.42 2022-08-04 09:33:35 +02:00
volume volumes: fix error-handling when removing volumes with swarm enabled 2023-03-14 11:38:04 +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