Merge pull request #18476 from aaronlehmann/v1-push-size

Use DiffSize instead of Size in v1 push
This commit is contained in:
Alexander Morozov 2015-12-07 14:09:14 -08:00
commit 1f0886a713
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ func (p *v1Pusher) pushImage(v1Image v1Image, ep string) (checksum string, err e
defer arch.Close()
// don't care if this fails; best effort
size, _ := l.Size()
size, _ := l.DiffSize()
// Send the layer
logrus.Debugf("rendered layer for %s of [%d] size", v1ID, size)