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 df86a14af2 api: Only return a Platform when relevant information is available
I noticed that we could return a Platform that has no information filled
in. This doesn't look like it would cause any problems, but it would be
confusing. Fix the handler to only append to this slice when the
Platform is not empty.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-05-17 18:42:16 -07:00
..
build Add docker build --iidfile=FILE 2017-05-05 16:35:54 +01:00
checkpoint Use function arguments for route setup. 2017-04-12 08:43:51 -04:00
container Update ContainerWait API 2017-05-16 15:11:39 -07:00
distribution api: Only return a Platform when relevant information is available 2017-05-17 18:42:16 -07:00
image Refacator pkg/streamformatter 2017-05-02 17:38:12 -04:00
network Honor context cancellation when pruning 2017-04-24 09:11:29 -07:00
plugin Refacator pkg/streamformatter 2017-05-02 17:38:12 -04:00
swarm Disabling digest pinning for API versions < 1.30 2017-05-15 16:42:43 -07:00
system Honor context within SystemDiskUsage 2017-04-24 09:11:29 -07:00
volume Honor context cancellation when pruning 2017-04-24 09:11:29 -07:00
experimental.go router: Return explicit error rather than 404 for experimental. 2016-11-17 15:51:47 -08:00
local.go Use function arguments for route setup. 2017-04-12 08:43:51 -04:00
router.go Decouple the "container" router from the actual daemon implementation. 2016-02-08 11:30:57 -05:00