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 Unmarshal signed payload when pulling by digest 2015-10-12 10:51:28 -07:00
tags Vendor updated version of docker/distribution 2015-11-02 12:40:18 -08:00
export.go Un-export non-externally used functions 2015-11-08 15:51:27 -05:00
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 Un-export non-externally used functions 2015-11-08 15:51:27 -05:00
import.go Correct import event logging 2015-11-10 13:34:53 -08:00
list.go Un-export non-externally used functions 2015-11-08 15:51:27 -05:00
load.go Un-export non-externally used functions 2015-11-08 15:51:27 -05:00
load_unsupported.go /graph fix lin errors/warnings 2015-07-29 20:59:36 +00:00
pools_test.go Move types from progressreader and broadcastwriter to broadcaster 2015-10-06 22:20:07 -04:00
pull.go Fix for #17168 misleading pull error 2015-11-14 16:24:45 +05:30
pull_v1.go Fix go vet warnings 2015-11-02 08:28:34 -08:00
pull_v2.go Un-export non-externally used functions 2015-11-08 15:51:27 -05:00
pull_v2_test.go Vendor updated version of docker/distribution 2015-11-02 12:40:18 -08:00
push.go Un-export non-externally used functions 2015-11-08 15:51:27 -05:00
push_v1.go Un-export non-externally used functions 2015-11-08 15:51:27 -05:00
push_v2.go Un-export non-externally used functions 2015-11-08 15:51:27 -05:00
registry.go Un-export non-externally used functions 2015-11-08 15:51:27 -05:00
service.go Un-export non-externally used functions 2015-11-08 15:51:27 -05:00
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 Un-export non-externally used functions 2015-11-08 15:51:27 -05:00