Skip to content

Commit 867f08a

Browse files
leftwoAlan Hanson
andauthored
let omdb db disks handle invalid UUIDs (#10703)
Fix for #10681 Co-authored-by: Alan Hanson <alan@oxide.computer>
1 parent 1a15291 commit 867f08a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • dev-tools/omdb/src/bin/omdb

dev-tools/omdb/src/bin/omdb/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2646,7 +2646,7 @@ async fn cmd_db_disk_info(
26462646
.select(nexus_db_model::Disk::as_select())
26472647
.get_result_async(&*conn)
26482648
.await
2649-
.unwrap()
2649+
.context("failed to find disk")?
26502650
};
26512651

26522652
match datastore.disk_get_with_model(opctx, disk).await? {

0 commit comments

Comments
 (0)