diff --git a/internal/era/e2store/e2store.go b/internal/era/e2store/e2store.go index e5337ce788..e1a85f6bc4 100644 --- a/internal/era/e2store/e2store.go +++ b/internal/era/e2store/e2store.go @@ -112,8 +112,8 @@ func (r *Reader) ReadAt(entry *Entry, off int64) (int, error) { return int(headerSize + length), nil } -// Reads the header at off and returns the total length of the entry, including -// header. +// LengthAt reads the header at off and returns the total length of the entry, +// including header. func (r *Reader) LengthAt(off int64) (int64, error) { _, length, err := r.ReadMetadataAt(off) if err != nil {