mirror of
https://github.com/distribution/distribution.git
synced 2025-07-10 22:05:21 +00:00
Remove hijack from api when not necessary
This commit is contained in:
parent
c8c892fec4
commit
40ccd26d82
@ -175,7 +175,6 @@ func (r *Registry) GetRemoteTags(registries []string, repository string, token [
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (r *Registry) GetRepositoryData(remote string) (*RepositoryData, error) {
|
func (r *Registry) GetRepositoryData(remote string) (*RepositoryData, error) {
|
||||||
utils.Debugf("Pulling repository %s from %s\r\n", remote, auth.IndexServerAddress())
|
|
||||||
repositoryTarget := auth.IndexServerAddress() + "/repositories/" + remote + "/images"
|
repositoryTarget := auth.IndexServerAddress() + "/repositories/" + remote + "/images"
|
||||||
|
|
||||||
req, err := http.NewRequest("GET", repositoryTarget, nil)
|
req, err := http.NewRequest("GET", repositoryTarget, nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user