-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
distribution: registry: do not access the errors slice if it's empty #21030
Conversation
ping @tiborvass @thaJeztah @Soulou |
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
LGTM |
1 similar comment
LGTM |
Thanks so much for the quick turnaround @runcom |
tests pass but jobs always end with something like this:
|
@runcom yes its a CI issue, i'm investigating. |
We don't care about experimental since this is a release. |
Janky also passed, except for that stupid tar --include bug. |
gccgo tests don't fail: |
@runcom you're right I can't read. ok then we're good. |
distribution: registry: do not access the errors slice if it's empty
Great, thanks @runcom for acting quickly! |
Kind of surprised this doesn't also affect earlier versions: https://github.com/docker/docker/blob/v1.9.1/registry/registry.go#L215 Anyway, nice work with the quick fix. |
@aaronlehmann acutally in 1.9, if the registry reply with 401 it will prompt for user/pass (which is not happening anymore in 1.10.x see #19159) |
Much appreciated! Thanks for the quick fix! |
Fix #21027
Regression from 1.9 which just prompt for user/pass on 401
See the discussion in the issue for more information
Signed-off-by: Antonio Murdaca runcom@redhat.com