Skip to content

Commit

Permalink
review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
smklein committed Jul 3, 2024
1 parent e933a46 commit 154a071
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sled-agent/src/instance_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ impl InstanceManager {
rx.await?
}

/// Marks instances failed unless they're using "disks".
/// Marks instances failed unless they're using storage from `disks`.
///
/// This function looks for transient zone filesystem usage on expunged
/// zpools.
Expand Down Expand Up @@ -831,7 +831,7 @@ impl InstanceManagerRunner {
let Ok(Some(filesystem_pool)) =
instance.get_filesystem_zpool().await
else {
info!(self.log, "only_use_disks: Cannot read filesystem pool"; "id" => ?id);
info!(self.log, "only_use_disks: Cannot read filesystem pool"; "instance_id" => ?id);
continue;
};
if !u2_set.contains(&filesystem_pool) {
Expand All @@ -840,7 +840,7 @@ impl InstanceManagerRunner {
}

for id in to_remove {
info!(self.log, "only_use_disks: Removing instance"; "id" => ?id);
info!(self.log, "only_use_disks: Removing instance"; "instance_id" => ?id);
self.instances.remove(&id);
}

Expand Down

0 comments on commit 154a071

Please sign in to comment.