|
@@ -182,10 +182,7 @@ func (graph *Graph) restore() error {
|
|
if graph.driver.Exists(id) {
|
|
if graph.driver.Exists(id) {
|
|
img, err := graph.loadImage(id)
|
|
img, err := graph.loadImage(id)
|
|
if err != nil {
|
|
if err != nil {
|
|
- if err != io.EOF {
|
|
|
|
- return fmt.Errorf("could not restore image %s: %v", id, err)
|
|
|
|
- }
|
|
|
|
- logrus.Warnf("could not restore image %s due to corrupted files", id)
|
|
|
|
|
|
+ logrus.Warnf("ignoring image %s, it could not be restored: %v", id, err)
|
|
continue
|
|
continue
|
|
}
|
|
}
|
|
graph.imageMutex.Lock(img.Parent)
|
|
graph.imageMutex.Lock(img.Parent)
|