moby/runconfig
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
..
fixtures Move the runconfig.Parse() function into the runconfig/opts package. 2016-01-04 12:06:29 -05:00
opts Add canonical import comment 2018-02-05 16:51:57 -05:00
config.go api/server: allow empty body for POST /commit again 2023-05-18 16:11:33 -04:00
config_test.go runconfig, oci, image, layer, distribution: fix empty-lines (revive) 2022-10-01 00:01:14 +02:00
config_unix.go Merge pull request #42725 from thaJeztah/runconfig_simplify 2021-10-27 20:15:14 +09:00
config_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
errors.go api/server: allow empty body for POST /commit again 2023-05-18 16:11:33 -04:00
hostconfig.go runconfig: ContainerDecoder(): fix handling of invalid JSON 2022-04-11 21:44:45 +02:00
hostconfig_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
hostconfig_unix.go Merge pull request #42725 from thaJeztah/runconfig_simplify 2021-10-27 20:15:14 +09:00
hostconfig_windows.go runconfig: decodeContainerConfig() return early if there's no HostConfig 2021-08-09 11:17:04 +02:00
hostconfig_windows_test.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00