Skip to content

Commit

Permalink
wip fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpesp committed Dec 20, 2024
1 parent b0673f0 commit 253ca1c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions nexus/src/app/sagas/region_snapshot_replacement_start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1564,7 +1564,7 @@ pub(crate) mod test {
let opctx = test_opctx(cptestctx);

let disk_allocated_regions =
datastore.get_allocated_regions(db_disk.volume_id).await.unwrap();
datastore.get_allocated_regions(db_disk.volume_id()).await.unwrap();
assert_eq!(disk_allocated_regions.len(), 3);

let region: &nexus_db_model::Region = &disk_allocated_regions[0].1;
Expand All @@ -1585,7 +1585,7 @@ pub(crate) mod test {
.unwrap();

let affected_volume_original =
datastore.volume_get(db_snapshot.volume_id).await.unwrap().unwrap();
datastore.volume_get(db_snapshot.volume_id()).await.unwrap().unwrap();

verify_clean_slate(
&cptestctx,
Expand Down Expand Up @@ -1668,7 +1668,7 @@ pub(crate) mod test {
let opctx = test_opctx(cptestctx);

let disk_allocated_regions =
datastore.get_allocated_regions(db_disk.volume_id).await.unwrap();
datastore.get_allocated_regions(db_disk.volume_id()).await.unwrap();
assert_eq!(disk_allocated_regions.len(), 3);

let region: &nexus_db_model::Region = &disk_allocated_regions[0].1;
Expand All @@ -1689,7 +1689,7 @@ pub(crate) mod test {
.unwrap();

let affected_volume_original =
datastore.volume_get(db_snapshot.volume_id).await.unwrap().unwrap();
datastore.volume_get(db_snapshot.volume_id()).await.unwrap().unwrap();

disk_test.set_always_fail_callback().await;

Expand Down Expand Up @@ -1778,9 +1778,9 @@ pub(crate) mod test {
.unwrap();

let disk_allocated_regions =
datastore.get_allocated_regions(db_disk.volume_id).await.unwrap();
datastore.get_allocated_regions(db_disk.volume_id()).await.unwrap();
let snapshot_allocated_regions = datastore
.get_allocated_regions(db_snapshot.volume_id)
.get_allocated_regions(db_snapshot.volume_id())
.await
.unwrap();

Expand Down Expand Up @@ -1869,7 +1869,7 @@ pub(crate) mod test {
);

let snapshot_allocated_regions = datastore
.get_allocated_regions(db_snapshot.volume_id)
.get_allocated_regions(db_snapshot.volume_id())
.await
.unwrap();

Expand Down Expand Up @@ -1937,9 +1937,9 @@ pub(crate) mod test {
.unwrap();

let disk_allocated_regions =
datastore.get_allocated_regions(db_disk.volume_id).await.unwrap();
datastore.get_allocated_regions(db_disk.volume_id()).await.unwrap();
let snapshot_allocated_regions = datastore
.get_allocated_regions(db_snapshot.volume_id)
.get_allocated_regions(db_snapshot.volume_id())
.await
.unwrap();

Expand Down Expand Up @@ -2028,7 +2028,7 @@ pub(crate) mod test {
);

let snapshot_allocated_regions = datastore
.get_allocated_regions(db_snapshot.volume_id)
.get_allocated_regions(db_snapshot.volume_id())
.await
.unwrap();

Expand Down

0 comments on commit 253ca1c

Please sign in to comment.