diff --git a/nexus/db-queries/src/db/datastore/instance.rs b/nexus/db-queries/src/db/datastore/instance.rs index 6032f697b6e..4c917bf0939 100644 --- a/nexus/db-queries/src/db/datastore/instance.rs +++ b/nexus/db-queries/src/db/datastore/instance.rs @@ -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, } diff --git a/nexus/db-queries/src/db/datastore/migration.rs b/nexus/db-queries/src/db/datastore/migration.rs index 23f0776d59d..7eb254b0223 100644 --- a/nexus/db-queries/src/db/datastore/migration.rs +++ b/nexus/db-queries/src/db/datastore/migration.rs @@ -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,