File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ use std::sync::{Arc, Mutex};
10
10
11
11
macro_rules! mongodb_uri {
12
12
( ) => {
13
- "mongodb://localhost/ "
13
+ "mongodb://localhost"
14
14
} ;
15
15
( $user: literal ) => {
16
16
concat!( "mongodb://" , $user, "@localhost/" )
@@ -19,24 +19,24 @@ macro_rules! mongodb_uri {
19
19
20
20
macro_rules! mongodb_uri_single {
21
21
( ) => {
22
- concat!( mongodb_uri!( ) , "?authMechanism=MONGODB-OIDC" )
22
+ concat!( mongodb_uri!( ) , "/ ?authMechanism=MONGODB-OIDC" )
23
23
} ;
24
24
( $user: literal ) => {
25
- concat!( mongodb_uri!( $user) , "?authMechanism=MONGODB-OIDC" )
25
+ concat!( mongodb_uri!( $user) , "/ ?authMechanism=MONGODB-OIDC" )
26
26
} ;
27
27
}
28
28
29
29
macro_rules! mongodb_uri_multi {
30
30
( ) => {
31
31
concat!(
32
32
mongodb_uri!( ) ,
33
- "?authMechanism=MONGODB-OIDC&directConnection=true"
33
+ ":27018/ ?authMechanism=MONGODB-OIDC&directConnection=true"
34
34
)
35
35
} ;
36
36
( $user: literal ) => {
37
37
concat!(
38
38
mongodb_uri!( $user) ,
39
- "?authMechanism=MONGODB-OIDC&directConnection=true"
39
+ ":27018/ ?authMechanism=MONGODB-OIDC&directConnection=true"
40
40
)
41
41
} ;
42
42
}
You can’t perform that action at this time.
0 commit comments