distribution/manifest/manifestlist
Owen W. Taylor 1d47ef7b80 Check media types when unmarshalling manifests
When unmarshalling manifests from JSON, check that the MediaType field
corresponds to the type that we are unmarshalling as. This makes sure
that when we retrieve a manifest from the manifest store, it will have
the same type as it was handled as before storing it in the manifest
store.

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2018-06-19 11:24:25 -04:00
..
manifestlist.go Check media types when unmarshalling manifests 2018-06-19 11:24:25 -04:00
manifestlist_test.go Check media types when unmarshalling manifests 2018-06-19 11:24:25 -04:00