upside_down: simplify return code in batchRows()
This commit is contained in:
parent
c0335e9fe4
commit
aee82f8b49
|
@ -150,11 +150,7 @@ func (udc *UpsideDownCouch) batchRows(writer store.KVWriter, addRows []UpsideDow
|
||||||
}
|
}
|
||||||
|
|
||||||
// write out the batch
|
// write out the batch
|
||||||
err = wb.Execute()
|
return wb.Execute()
|
||||||
if err != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (udc *UpsideDownCouch) DocCount() (uint64, error) {
|
func (udc *UpsideDownCouch) DocCount() (uint64, error) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user