Remove ManifestMIMETypes

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2016-05-31 10:20:02 +02:00
parent 0d95328125
commit 6fc6d809e0

View File

@ -10,15 +10,6 @@ import (
// FIXME: Should we just use docker/distribution and docker/docker implementations directly? // FIXME: Should we just use docker/distribution and docker/docker implementations directly?
// ManifestMIMETypes returns a slice of supported MIME types
func ManifestMIMETypes() []string {
return []string{
DockerV2Schema1MIMEType,
DockerV2Schema2MIMEType,
DockerV2ListMIMEType,
}
}
const ( const (
// DockerV2Schema1MIMEType MIME type represents Docker manifest schema 1 // DockerV2Schema1MIMEType MIME type represents Docker manifest schema 1
DockerV2Schema1MIMEType = "application/vnd.docker.distribution.manifest.v1+json" DockerV2Schema1MIMEType = "application/vnd.docker.distribution.manifest.v1+json"