Skip to content

Commit

Permalink
dataset_on_in_service_physical_disk -> dataset_physical_disk_in_service
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpesp committed May 25, 2024
1 parent 4bf4bf5 commit 9e8fcc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nexus/db-queries/src/db/datastore/dataset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ impl DataStore {
Ok(all_datasets)
}

pub async fn dataset_on_in_service_physical_disk(
pub async fn dataset_physical_disk_in_service(
&self,
dataset_id: Uuid,
) -> LookupResult<bool> {
Expand Down
2 changes: 1 addition & 1 deletion nexus/src/app/crucible.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl super::Nexus {
) -> Result<bool, Error> {
let on_in_service_physical_disk = self
.datastore()
.dataset_on_in_service_physical_disk(dataset_id)
.dataset_physical_disk_in_service(dataset_id)
.await?;

Ok(!on_in_service_physical_disk)
Expand Down

0 comments on commit 9e8fcc1

Please sign in to comment.