moby--moby/api/server/router/distribution
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
..
backend.go
distribution.go
distribution_routes.go api: Only return a Platform when relevant information is available 2017-05-17 18:42:16 -07:00