Skip to content

Commit

Permalink
Add missing bracket in storage mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
danbogos committed Oct 9, 2017
1 parent eed147e commit 6b000a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/storage_mongo_datadb.go
Expand Up @@ -690,6 +690,7 @@ func (ms *MongoStorage) GetKeysForPrefix(prefix string) (result []string, err er
iter := db.C(colFlt).Find(bson.M{"id": bson.M{"$regex": bson.RegEx{Pattern: subject}}}).Select(bson.M{"tenant": 1, "id": 1}).Iter()
for iter.Next(&idResult) {
result = append(result, utils.FilterProfilePrefix+utils.ConcatenatedKey(idResult.Tenant, idResult.Id))
}
case utils.ThresholdPrefix:
qry := bson.M{}
if tntID.Tenant != "" {
Expand Down

0 comments on commit 6b000a2

Please sign in to comment.