id on peer
This commit is contained in:
@@ -53,6 +53,9 @@ func (m *MongoDB) Init(collections []string, config MongoConf) {
|
||||
}
|
||||
|
||||
func (m *MongoDB) createClient(MongoURL string) error {
|
||||
if mngoClient != nil {
|
||||
return nil
|
||||
}
|
||||
var err error
|
||||
// Allows us to use marshal and unmarshall with results of FindOne() and others
|
||||
bsonOpts := &options.BSONOptions{
|
||||
|
Reference in New Issue
Block a user