moby/api/server
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
..
backend/build Use the image service instead of the reference store for tagging 2023-04-26 15:10:01 +02:00
httpstatus use consistent alias for containerd's errdefs package 2023-04-08 19:30:33 +02:00
httputils chore: use http constants to replace numbers 2023-02-21 23:02:56 +08:00
middleware api/server: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00
router api/server: allow empty body for POST /commit again 2023-05-18 16:06:57 -04:00
errorhandler.go errdefs: move GetHTTPErrorStatusCode to api/server/httpstatus 2022-03-21 12:22:39 +01:00
middleware.go api/server: remove "Logging" from config 2022-04-23 23:38:30 +02:00
server.go cmd/dockerd: gracefully shut down the API server 2023-04-26 10:57:28 -04:00
server_test.go api/server: drop unused Config struct 2023-02-28 13:49:53 -05:00