summaryrefslogtreecommitdiff
path: root/vendor/github.com/docker/distribution/manifests.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/docker/distribution/manifests.go')
-rw-r--r--vendor/github.com/docker/distribution/manifests.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/docker/distribution/manifests.go b/vendor/github.com/docker/distribution/manifests.go
index 1816baea1..8f84a220a 100644
--- a/vendor/github.com/docker/distribution/manifests.go
+++ b/vendor/github.com/docker/distribution/manifests.go
@@ -87,7 +87,7 @@ func ManifestMediaTypes() (mediaTypes []string) {
// UnmarshalFunc implements manifest unmarshalling a given MediaType
type UnmarshalFunc func([]byte) (Manifest, Descriptor, error)
-var mappings = make(map[string]UnmarshalFunc, 0)
+var mappings = make(map[string]UnmarshalFunc)
// UnmarshalManifest looks up manifest unmarshal functions based on
// MediaType