From 882b4f0690c1c86b6ab5d22a51e3dfde367add36 Mon Sep 17 00:00:00 2001 From: Steve Yen Date: Tue, 18 Aug 2015 18:43:42 -0700 Subject: [PATCH] split long lines --- pindex_bleve.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pindex_bleve.go b/pindex_bleve.go index 33b6c1c..578ead1 100644 --- a/pindex_bleve.go +++ b/pindex_bleve.go @@ -457,7 +457,8 @@ func (t *BleveDest) ConsistencyWait(partition, partitionUUID string, // --------------------------------------------------------- -func (t *BleveDest) Count(pindex *cbgt.PIndex, cancelCh <-chan bool) (uint64, error) { +func (t *BleveDest) Count(pindex *cbgt.PIndex, cancelCh <-chan bool) ( + uint64, error) { return t.bindex.DocCount() } @@ -556,6 +557,7 @@ func (t *BleveDest) Stats(w io.Writer) (err error) { w.Write(prefixPIndexStoreStats) t.m.Lock() + t.stats.WriteJSON(w) if t.bindex != nil {