-
Notifications
You must be signed in to change notification settings - Fork 521
Add http.Request to doAuth to use with challenge.SetHeaders #1456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Can one of the admins verify this patch? |
You need to bump the vendoring here as we use vendoring in this repo, regardless of whether you use the vendoring. |
Might need some help with that, running |
vndr only works correctly if the package is located in the GOPATH, a caveat not mentioned on the README. |
Oh yes, sorry, Looks like the new version of |
Newer challenge.SetHeaders takes two parameters, r *http.Request and w http.ResponseWriter. See commit distribution/distribution@f730f3a Signed-off-by: Robert-André Mauchin <[email protected]>
Signed-off-by: Robert-André Mauchin <[email protected]>
Signed-off-by: Robert-André Mauchin <[email protected]>
6164a1b
to
32289a1
Compare
cc @cyli @endophage |
Newer challenge.SetHeaders takes two parameters, r *http.Request and
w http.ResponseWriter.
See commit distribution/distribution@f730f3a
Signed-off-by: Robert-André Mauchin [email protected]
You will need to bump github.com/docker/distribution vendoring if you wanna use this. In Fedora we unbundle all the dependencies, so we need to work with the latest version.