Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
Co-authored-by: Sean Klein <sean@oxide.computer>
  • Loading branch information
hawkw and smklein committed May 23, 2024
1 parent edf342d commit 66fe92d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nexus/db-queries/src/db/datastore/vmm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ impl DataStore {
/// A VMM is considered "abandoned" if (and only if):
///
/// - It is in the `Destroyed` state.
/// - It has previously been asigned to an instance.
/// - It has previously been assigned to an instance.
/// - It is not currently running the instance, and it is also not the
/// migration target of that instance (i.e. it is no longer pointed to by
/// the instance record's `active_propolis_id` and `target_propolis_id`
Expand Down
4 changes: 2 additions & 2 deletions nexus/src/app/background/abandoned_vmm_reaper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! A VMM is considered "abandoned" if (and only if):
//!
//! - It is in the `Destroyed` state.
//! - It has previously been asigned to an instance.
//! - It has previously been assigned to an instance.
//! - It is not currently running the instance, and it is also not the
//! migration target of that instance (i.e. it is no longer pointed to by
//! the instance record's `active_propolis_id` and `target_propolis_id`
Expand All @@ -25,7 +25,7 @@ use nexus_db_queries::db::DataStore;
use std::num::NonZeroU32;
use std::sync::Arc;

/// Background task that searches for abandoned VMM recordss and deletes them.
/// Background task that searches for abandoned VMM records and deletes them.
pub struct AbandonedVmmReaper {
datastore: Arc<DataStore>,
}
Expand Down

0 comments on commit 66fe92d

Please sign in to comment.