mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #37854 from tiborvass/remove-leaked-image-warning
daemon/images: removed "found leaked image layer" warning, because it…
This commit is contained in:
commit
bbe08dc7f0
1 changed files with 0 additions and 2 deletions
|
@ -205,8 +205,6 @@ func (i *ImageService) LayerDiskUsage(ctx context.Context) (int64, error) {
|
||||||
if err == nil {
|
if err == nil {
|
||||||
if _, ok := layerRefs[l.ChainID()]; ok {
|
if _, ok := layerRefs[l.ChainID()]; ok {
|
||||||
allLayersSize += size
|
allLayersSize += size
|
||||||
} else {
|
|
||||||
logrus.Warnf("found leaked image layer %v", l.ChainID())
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
logrus.Warnf("failed to get diff size for layer %v", l.ChainID())
|
logrus.Warnf("failed to get diff size for layer %v", l.ChainID())
|
||||||
|
|
Loading…
Reference in a new issue