distribution: registry: do not access the errors slice if it's empty#21030
distribution: registry: do not access the errors slice if it's empty#21030tiborvass merged 1 commit intomoby:bump_v1.10.3from
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