Skip to content

Commit c347eb4

Browse files
committed
IA feedback
1 parent 139ac53 commit c347eb4

File tree

1 file changed

+3
-1
lines changed
  • source/includes/fundamentals/code-snippets

1 file changed

+3
-1
lines changed

source/includes/fundamentals/code-snippets/auth.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ async fn main() -> mongodb::error::Result<()> {
7474

7575
// start-x509
7676
let uri = format!(
77-
"mongodb://<hostname>:<port>/?tlsCAFile={tlsCAFile}&tlsCertificateKeyFile={tlsCertificateKeyFile}&tlsCertificateKeyFilePassword={tlsCertificateKeyFilePassword}",
77+
"mongodb://<hostname>:<port>/?tlsCAFile={tlsCAFile}\
78+
&tlsCertificateKeyFile={tlsCertificateKeyFile}\
79+
&tlsCertificateKeyFilePassword={tlsCertificateKeyFilePassword}",
7880
tlsCAFile = "<path to CA certificate>",
7981
tlsCertificateKeyFile = "<path to private client key>",
8082
tlsCertificateKeyFilePassword = "<password for client key>"

0 commit comments

Comments
 (0)