moby--moby/api/server
Tibor Vass facad55744 api: Change Platform field back to string (temporary workaround)
This partially reverts https://github.com/moby/moby/pull/37350

Although specs.Platform is desirable in the API, there is more work
to be done on helper functions, namely containerd's platforms.Parse
that assumes the default platform of the Go runtime.

That prevents a client to use the recommended Parse function to
retrieve a specs.Platform object.

With this change, no parsing is expected from the client.

Signed-off-by: Tibor Vass <tibor@docker.com>
2018-07-03 22:33:42 +00:00
..
backend/build builder: return image ID in API when using buildkit 2018-07-03 19:11:02 +00:00
httputils Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
middleware Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
router api: Change Platform field back to string (temporary workaround) 2018-07-03 22:33:42 +00:00
middleware.go Add canonical import comment 2018-02-05 16:51:57 -05:00
router_swapper.go Add canonical import comment 2018-02-05 16:51:57 -05:00
server.go Update comments about `InitRouter` 2018-06-27 09:45:06 +09:00
server_test.go Various code-cleanup 2018-05-23 17:50:54 +02:00