From 4e3bf4bad4df87f447678dd675b5f44de0ff8c58 Mon Sep 17 00:00:00 2001 From: Josh Hawn Date: Wed, 4 Mar 2015 20:57:14 -0800 Subject: [PATCH] Update notification event Target fields Docker-DCO-1.1-Signed-off-by: Josh Hawn (github: jlhawn) --- docs/storage/layerreader.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/storage/layerreader.go b/docs/storage/layerreader.go index 2d8e588d4..1de98e50b 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 }