1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/graph
Anil Belur 31cdc63419 Fix for #17168 misleading pull error
This fix avoids overwritting the previous error messages, ensures the client gets the correct error messages and not just the most recent message during the pull request.
For this `var lastErr` replaced with a slice which acts as a temp place holder for the list of returned error messages for every attempt.
The slice is later joined and returned to the caller function after searching for the image with diffirent versions(v2,v1,v0).

Updated the code with check for no space left on device error occurance and prevent the
daemon on falling back to v1,v0.

Incorporated the comments from @calavera, @RichardScothern, @cpuguy83

Signed-off-by: Anil Belur <askb23@gmail.com>
2015-11-14 16:24:45 +05:30
..
fixtures/validate_manifest
tags
export.go
graph.go Merge pull request #17431 from vdemeester/hope-it-does-not-broke-everything-again 2015-11-09 13:15:50 -08:00
graph_test.go dockerversion placeholder for library import 2015-11-09 19:32:46 +01:00
history.go
import.go Correct import event logging 2015-11-10 13:34:53 -08:00
list.go
load.go
load_unsupported.go
pools_test.go
pull.go Fix for #17168 misleading pull error 2015-11-14 16:24:45 +05:30
pull_v1.go
pull_v2.go
pull_v2_test.go
push.go
push_v1.go
push_v2.go Un-export non-externally used functions 2015-11-08 15:51:27 -05:00
registry.go
service.go
tags.go Merge pull request #17503 from mikebrow/fix-for-rmi-id-old-local-repositories 2015-11-13 16:22:30 -08:00
tags_unit_test.go