distribution/manifest
Aaron Lehmann 775d0968cc Use correct media type for config blob in schema2 manifest
The schema2 manifest builder fills in this part of the manifest based on
the descriptor it gets back from BlobIngester's Put method. It passes
the correct media type to Put, but Put ends up replacing this value with
application/octet-stream in its return value.

This commit works around the issue in the manifest builder. Arguably Put
should not be changing the media type in its return value, but this
commit is a targeted fix to keep it very low-risk for possible inclusion
in Docker 1.11.

Fixes #1621 (but maybe we should open a separate issue for the media
type behavior in the distribution client, and the unnecessary stat).

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-05-04 10:28:54 -07:00
..
manifestlist Add os.version and os.features to platform spec 2016-03-17 16:54:21 -07:00
schema1 Add option to disable signatures 2016-02-10 15:20:39 -08:00
schema2 Use correct media type for config blob in schema2 manifest 2016-05-04 10:28:54 -07:00
doc.go Move manifest package to schema1 2015-08-21 16:29:47 -07:00
versioned.go Move MediaType into manifest.Versioned 2016-01-07 15:26:27 -08:00