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
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/build Extract squash and tagging from the Dockerfile builder. 2017-05-01 12:07:32 -04:00
httputils Change log details encoding format and support details on service logs 2017-05-12 10:53:44 -07:00
middleware Hide command options that are related to Windows 2017-03-12 08:47:17 +02:00
router api: Only return a Platform when relevant information is available 2017-05-17 18:42:16 -07:00
middleware.go
profiler.go Use generic handler for pprof profile lookups 2017-03-16 11:05:20 -04:00
router_swapper.go
server.go server.go: format for 2017-05-15 07:12:28 +08:00
server_test.go Correct fmt.Fprintf and t.Fatalf 2017-02-08 12:32:40 +08:00