浏览代码

Merge pull request #42567 from thaJeztah/remove_unused_const

Akihiro Suda 4 年之前
父节点
当前提交
1e71c6cffe
共有 1 个文件被更改,包括 0 次插入4 次删除
  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