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/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 Adding /distribution/{name}/json endpoint to contact registry 2017-05-08 16:58:38 -07:00
distribution.go Adding /distribution/{name}/json endpoint to contact registry 2017-05-08 16:58:38 -07:00
distribution_routes.go api: Only return a Platform when relevant information is available 2017-05-17 18:42:16 -07:00