From 38b6c522b0a8a77f775b8f340909a7517766d67a Mon Sep 17 00:00:00 2001 From: abhinavdangeti Date: Tue, 6 Mar 2018 14:00:54 -0800 Subject: [PATCH] Address build breakage after rebase Removed attribute: iterator of type Posting --- index/scorch/segment/zap/posting.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/index/scorch/segment/zap/posting.go b/index/scorch/segment/zap/posting.go index e9c68cba..ef21df8d 100644 --- a/index/scorch/segment/zap/posting.go +++ b/index/scorch/segment/zap/posting.go @@ -506,10 +506,6 @@ type Posting struct { func (p *Posting) Size() int { sizeInBytes := reflectStaticSizePosting - if p.iterator != nil { - sizeInBytes += p.iterator.Size() - } - for _, entry := range p.locs { sizeInBytes += entry.Size() }