Skip to content

Commit 826b5df

Browse files
committed
comment for disk_for_volume_id
1 parent f751308 commit 826b5df

File tree

1 file changed

+3
-0
lines changed
  • nexus/db-queries/src/db/datastore

1 file changed

+3
-0
lines changed

nexus/db-queries/src/db/datastore/disk.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,6 +1160,9 @@ impl DataStore {
11601160
.collect())
11611161
}
11621162

1163+
/// Returns a Some(disk) that has a matching volume ID, None if no disk
1164+
/// matches that volume ID, or an error. Only disks of type `Crucible` have
1165+
/// volumes, so that is the returned type.
11631166
pub async fn disk_for_volume_id(
11641167
&self,
11651168
volume_id: VolumeUuid,

0 commit comments

Comments
 (0)