1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/server/router
Aaron Lehmann 1d274e9acf Change "service inspect" to show defaults in place of empty fields
This adds a new parameter insertDefaults to /services/{id}. When this is
set, an empty field (such as UpdateConfig) will be populated with
default values in the API response. Make "service inspect" use this, so
that empty fields do not result in missing information when inspecting a
service.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-04-10 13:41:16 -07:00
..
build fix func name "BuildFromContext" in comment 2017-03-02 17:00:40 +08:00
checkpoint router: Return explicit error rather than 404 for experimental. 2016-11-17 15:51:47 -08:00
container refactor logs and support service logs /w tty 2017-04-06 17:54:11 -07:00
image Replace API version comparison by a if 2017-03-15 10:46:06 +01:00
network Allow user to modify ingress network 2017-03-26 15:46:18 -07:00
plugin Use distribution reference 2017-02-07 11:08:37 -08:00
swarm Change "service inspect" to show defaults in place of empty fields 2017-04-10 13:41:16 -07:00
system rename clusterProvider to cluster in router 2016-12-26 20:53:13 +08:00
volume Add label filter for docker system prune 2017-04-06 09:11:25 -07:00
experimental.go router: Return explicit error rather than 404 for experimental. 2016-11-17 15:51:47 -08:00
local.go api/server/router: add Cancellable function 2016-03-25 10:19:23 -07:00
router.go Decouple the "container" router from the actual daemon implementation. 2016-02-08 11:30:57 -05:00