forked from TrueCloudLab/distribution
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:
commit
835b04c004
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ func (r *remoteAuthChallenger) tryEstablishChallenges(ctx context.Context) error
|
|||
|
||||
remoteURL := r.remoteURL
|
||||
remoteURL.Path = "/v2/"
|
||||
challenges, err := r.cm.GetChallenges(r.remoteURL)
|
||||
challenges, err := r.cm.GetChallenges(remoteURL)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue