Merge pull request #30378 from mlaventure/fix-negative-size

Ensure proper value is used when computing reclaimable space
Upstream-commit: ee7682ebaedba6025f585c3ab6f0d61513e54e06
Component: engine
This commit is contained in:
Brian Goff
2017-01-24 09:24:53 -05:00
committed by GitHub
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ func (daemon *Daemon) Images(imageFilters filters.Args, all bool, withExtraAttrs
}
if withExtraAttrs {
// Get Shared and Unique sizes
// Get Shared sizes
for img, newImage := range imagesMap {
rootFS := *img.RootFS
rootFS.DiffIDs = nil