Merge pull request #1958 from spacexnice/master

remoteURL parameter error cause  challenge cache not working which eventually lead to client manifest request timeout
This commit is contained in:
Richard Scothern 2016-09-14 12:33:18 -07:00 committed by GitHub
commit 835b04c004

View file

@ -203,7 +203,7 @@ func (r *remoteAuthChallenger) tryEstablishChallenges(ctx context.Context) error
remoteURL := r.remoteURL remoteURL := r.remoteURL
remoteURL.Path = "/v2/" remoteURL.Path = "/v2/"
challenges, err := r.cm.GetChallenges(r.remoteURL) challenges, err := r.cm.GetChallenges(remoteURL)
if err != nil { if err != nil {
return err return err
} }