Fix nits
This commit is contained in:
parent
355c8ee6bc
commit
c3c5fe50c1
3 changed files with 11 additions and 16 deletions
|
|
@ -382,7 +382,6 @@ func (qs *QuadStore) Type() string {
|
|||
|
||||
func (qs *QuadStore) getSize(collection string, constraint bson.M) (int64, error) {
|
||||
var size int
|
||||
var err error
|
||||
bytes, err := bson.Marshal(constraint)
|
||||
if err != nil {
|
||||
glog.Errorf("Couldn't marshal internal constraint")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue