Commit dd4725e5 authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Add replica_set_name in MongoDB conf backend options (#984)

parent 474abee8
......@@ -28,7 +28,7 @@ sub Lemonldap::NG::Common::Conf::_mongoDB {
return $self->{_mongoDB} if ( $self->{_mongoDB} );
my $conn_args = {};
foreach my $w (
qw(host auth_mechanism auth_mechanism_properties connect_timeout_ms db_name port ssl username password)
qw(host auth_mechanism auth_mechanism_properties connect_timeout_ms db_name port ssl username password replica_set_name)
)
{
$conn_args->{$w} = $self->{$w} if ( defined $self->{$w} );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment