Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Jun 21, 2024
1 parent a166187 commit f0a978e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions nexus/db-queries/src/db/datastore/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,14 @@ pub struct InstanceUpdateResult {
pub instance_updated: bool,
/// `true` if the VMM record was updated, `false` otherwise.
pub vmm_updated: bool,
/// Indicates whether a migration record for this instance was updated, if a
/// [`MigrationRuntimeState`] was provided to
/// Indicates whether a migration record for this instance was updated, if
/// [`Migrations`] were provided to
/// [`DataStore::instance_and_vmm_update_runtime`].
///
/// - `Some(true)` if a migration record was updated
/// - `Some(false)` if a [`MigrationRuntimeState`] was provided, but the
/// - `Some(false)` if [`Migrations`] were provided, but the
/// migration record was not updated
/// - `None` if no [`MigrationRuntimeState`] was provided
/// - `None` if no [`Migrations`] were provided
pub migration_updated: Option<bool>,
}

Expand Down
4 changes: 0 additions & 4 deletions nexus/db-queries/src/db/datastore/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ impl DataStore {
}

/// Unconditionally mark a migration record as deleted.
///
/// This is distinct from [`DataStore::migration_terminate`], as it will
/// mark a migration as deleted regardless of the states of the source and
/// target VMMs.
pub async fn migration_mark_deleted(
&self,
opctx: &OpContext,
Expand Down

0 comments on commit f0a978e

Please sign in to comment.