Browse Source

Merge pull request #42567 from thaJeztah/remove_unused_const

Akihiro Suda 4 years ago
parent
commit
1e71c6cffe
1 changed files with 0 additions and 4 deletions
  1. 0 4
      registry/config.go

+ 0 - 4
registry/config.go

@@ -29,10 +29,6 @@ type serviceConfig struct {
 const (
 	// DefaultNamespace is the default namespace
 	DefaultNamespace = "docker.io"
-	// DefaultRegistryVersionHeader is the name of the default HTTP header
-	// that carries Registry version info
-	DefaultRegistryVersionHeader = "Docker-Distribution-Api-Version"
-
 	// IndexHostname is the index hostname
 	IndexHostname = "index.docker.io"
 	// IndexServer is used for user auth and image search