737e8c6ab8
The endpoint was silently ignoring invalid values for the "condition" parameter. This patch now returns a 400 status if an unknown, non-empty "condition" is passed. With this patch: curl --unix-socket /var/run/docker.sock -XPOST 'http://localhost/v1.41/containers/foo/wait?condition=foobar' {"message":"invalid condition: \"foobar\""} Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
build | ||
checkpoint | ||
container | ||
debug | ||
distribution | ||
grpc | ||
image | ||
network | ||
plugin | ||
session | ||
swarm | ||
system | ||
volume | ||
experimental.go | ||
local.go | ||
router.go |