Still allow primary only connection if secondaryOnly is true
Still allow primary only connection if secondaryOnly is true

andrasq/mongodb-core,christkv/mongodb-core,yurynix/mongodb-core,mongodb-js/mongodb-core,christkv/mongodb-core,andrasq/mongodb-core,mongodb-js/mongodb-core