Sfoglia il codice sorgente

Merge pull request #42567 from thaJeztah/remove_unused_const

Akihiro Suda 4 anni fa
parent
commit
1e71c6cffe
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  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