Browse code

distribution: registry: do not access the errors slice if it's empty

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
(cherry picked from commit 0186f4d4223a094a050d06f456355da3ae431468)

Antonio Murdaca authored on 2016/03/08 23:56:16
Showing 1 changed files
... ...
@@ -16,7 +16,8 @@ be found.
16 16
 
17 17
 ### Distribution
18 18
 
19
-- Fix a crash when pushing multiple images sharing the same layers to the same repository in parallel  [#20831](https://github.com/docker/docker/pull/20831)
19
+- Fix a crash when pushing multiple images sharing the same layers to the same repository in parallel [#20831](https://github.com/docker/docker/pull/20831)
20
+- Fix a panic when pushing images to a registry which uses a misconfigured token service [#21030](https://github.com/docker/docker/pull/21030)
20 21
 
21 22
 ### Plugin system
22 23