Remove hijack from api when not necessary
This commit is contained in:
parent
c8c892fec4
commit
40ccd26d82
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue