Skip to content

Commit 9dcbce1

Browse files
committed
updates altas local rust library and removes verify
1 parent 91519a1 commit 9dcbce1

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ crate-type = ["cdylib"]
1010

1111
[dependencies]
1212
anyhow = "1.0.99"
13-
atlas-local = { git = "https://github.com/mongodb/atlas-local-lib.git", rev = "c5ac7e298dc7a654028784f94737b7100a2ad7ff" }
13+
atlas-local = { git = "https://github.com/mongodb/atlas-local-lib.git", rev = "df190245295e6675949fb5c63a164fadc0007dab" }
1414
bollard = "0.19.2"
1515
napi = { version = "^3.3.0", features = ["async", "anyhow"] }
1616
napi-derive = "^3.2.5"

index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export interface GetConnectionStringOptions {
7171
containerIdOrName: string
7272
dbUsername?: string
7373
dbPassword?: string
74-
verify?: boolean
7574
}
7675

7776
export interface MongoDbPortBinding {

src/models/get_connection_string.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ pub struct GetConnectionStringOptions {
55
pub container_id_or_name: String,
66
pub db_username: Option<String>,
77
pub db_password: Option<String>,
8-
pub verify: Option<bool>,
98
}
109

1110
impl From<GetConnectionStringOptions> for atlas_local::models::GetConnectionStringOptions {
@@ -14,7 +13,6 @@ impl From<GetConnectionStringOptions> for atlas_local::models::GetConnectionStri
1413
container_id_or_name: source.container_id_or_name,
1514
db_username: source.db_username,
1615
db_password: source.db_password,
17-
verify: source.verify,
1816
}
1917
}
2018
}
@@ -30,7 +28,6 @@ mod tests {
3028
container_id_or_name: "test_container".into(),
3129
db_username: Some("test_user".into()),
3230
db_password: Some("test_pass".into()),
33-
verify: Some(true),
3431
};
3532

3633
let get_connection_string_options: atlas_local::models::GetConnectionStringOptions =
@@ -48,6 +45,5 @@ mod tests {
4845
get_connection_string_options.db_password,
4946
Some("test_pass".into())
5047
);
51-
assert_eq!(get_connection_string_options.verify, Some(true));
5248
}
5349
}

0 commit comments

Comments
 (0)