@@ -153,7 +153,7 @@ impl super::Nexus {
153
153
154
154
// This operation may only occur on stopped instances, which implies that
155
155
// the attached disks do not have any running "upstairs" process running
156
- // within the Sled Agent .
156
+ // within the sled .
157
157
pub async fn project_destroy_instance (
158
158
& self ,
159
159
opctx : & OpContext ,
@@ -164,7 +164,7 @@ impl super::Nexus {
164
164
// TODO-robustness We need to figure out what to do with Destroyed
165
165
// instances? Presumably we need to clean them up at some point, but
166
166
// not right away so that callers can see that they've been destroyed.
167
- let ( .., authz_instance, _db_instance ) =
167
+ let ( .., authz_instance, _ ) =
168
168
LookupPath :: new ( opctx, & self . db_datastore )
169
169
. organization_name ( organization_name)
170
170
. project_name ( project_name)
@@ -581,14 +581,14 @@ impl super::Nexus {
581
581
instance_name : & Name ,
582
582
disk_name : & Name ,
583
583
) -> UpdateResult < db:: model:: Disk > {
584
- let ( .., authz_project, authz_disk, _db_disk ) =
584
+ let ( .., authz_project, authz_disk, _ ) =
585
585
LookupPath :: new ( opctx, & self . db_datastore )
586
586
. organization_name ( organization_name)
587
587
. project_name ( project_name)
588
588
. disk_name ( disk_name)
589
589
. fetch ( )
590
590
. await ?;
591
- let ( .., authz_instance, _db_instance ) =
591
+ let ( .., authz_instance, _ ) =
592
592
LookupPath :: new ( opctx, & self . db_datastore )
593
593
. project_id ( authz_project. id ( ) )
594
594
. instance_name ( instance_name)
0 commit comments