Add filter conversion
This commit is contained in:
@@ -45,7 +45,7 @@ func (c *MongoClient) CreateIndexes(collection *mongo.Collection, cdef *Collecti
|
||||
|
||||
var keysBson bson.D
|
||||
if err := bson.Unmarshal(keysVal.Value, &keysBson); err != nil {
|
||||
log.Printf("failed to unmarshal keys value %v", err)
|
||||
log.Printf("failed to unmarshal keys value %v, %v", keysVal, err)
|
||||
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user