Skip to content

Commit a043a37

Browse files
committed
review feedback
1 parent 12ab587 commit a043a37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

nexus/src/app/instance.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ impl super::Nexus {
153153

154154
// This operation may only occur on stopped instances, which implies that
155155
// the attached disks do not have any running "upstairs" process running
156-
// within the Sled Agent.
156+
// within the sled.
157157
pub async fn project_destroy_instance(
158158
&self,
159159
opctx: &OpContext,
@@ -164,7 +164,7 @@ impl super::Nexus {
164164
// TODO-robustness We need to figure out what to do with Destroyed
165165
// instances? Presumably we need to clean them up at some point, but
166166
// not right away so that callers can see that they've been destroyed.
167-
let (.., authz_instance, _db_instance) =
167+
let (.., authz_instance, _) =
168168
LookupPath::new(opctx, &self.db_datastore)
169169
.organization_name(organization_name)
170170
.project_name(project_name)
@@ -581,14 +581,14 @@ impl super::Nexus {
581581
instance_name: &Name,
582582
disk_name: &Name,
583583
) -> UpdateResult<db::model::Disk> {
584-
let (.., authz_project, authz_disk, _db_disk) =
584+
let (.., authz_project, authz_disk, _) =
585585
LookupPath::new(opctx, &self.db_datastore)
586586
.organization_name(organization_name)
587587
.project_name(project_name)
588588
.disk_name(disk_name)
589589
.fetch()
590590
.await?;
591-
let (.., authz_instance, _db_instance) =
591+
let (.., authz_instance, _) =
592592
LookupPath::new(opctx, &self.db_datastore)
593593
.project_id(authz_project.id())
594594
.instance_name(instance_name)

0 commit comments

Comments
 (0)