diff --git a/docs/storage/layerreader.go b/docs/storage/layerreader.go index 2d8e588d..1de98e50 100644 --- a/docs/storage/layerreader.go +++ b/docs/storage/layerreader.go @@ -21,6 +21,10 @@ func (lrs *layerReader) Digest() digest.Digest { return lrs.digest } +func (lrs *layerReader) Length() int64 { + return lrs.size +} + func (lrs *layerReader) CreatedAt() time.Time { return lrs.modtime }