moby/distribution
Doug Davis c127d9614f Add the mediaType to the error
Without this fix the error the client might see is:
	target is unknown
which wasn't helpful to me when I saw this today. With this fix I
now see:
	MediaType is unknown: 'text/html'
which helped me track down the issue to the registry I was talking to.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2017-02-28 11:36:32 -08:00
..
fixtures/validate_manifest Add distribution package 2015-11-24 09:40:24 -08:00
metadata *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
utils Implement content addressability for plugins 2016-12-23 13:29:58 -08:00
xfer *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
config.go storeLayer.Parent should return describableStoreLayers 2017-01-11 19:01:13 -08:00
errors.go Merge pull request #28459 from dmcgowan/plugin-repository-pinning 2016-12-08 11:28:52 -08:00
pull.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
pull_v1.go Abstract distribution interfaces from image specific types 2016-12-19 10:55:00 -08:00
pull_v2.go Add the mediaType to the error 2017-02-28 11:36:32 -08:00
pull_v2_test.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
pull_v2_unix.go Removing old custom RootFS behavior on Windows. 2016-07-29 14:15:59 -07:00
pull_v2_windows.go Windows: Add debug output to foreign layer pull 2016-09-26 08:56:34 -07:00
push.go Abstract distribution interfaces from image specific types 2016-12-19 10:55:00 -08:00
push_v1.go Refactoring ineffectual assignments 2017-01-13 00:27:01 -07:00
push_v2.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
push_v2_test.go Remove use of forked reference package for cli 2017-01-19 16:04:50 -08:00
registry.go distribution: Add text/html and application/json as image mediatypes 2017-01-19 11:16:28 -08:00
registry_unit_test.go Remove unused variable 2016-12-28 03:20:41 +08:00