Skip to content

Commit

Permalink
split long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyen committed Aug 19, 2015
1 parent cab9623 commit 882b4f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pindex_bleve.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 882b4f0

Please sign in to comment.