Skip to content

Commit

Permalink
oh i guess we can't assert that
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Jul 2, 2024
1 parent d023a3b commit a5f7c91
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions nexus/src/app/sagas/instance_update/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,7 @@ impl UpdatesRequired {
// instance's state to `NoVmm` above), it has successfully
// migrated, so leave it in the VMM state.
new_runtime.nexus_state = InstanceState::Vmm;
let _prev_target_id = new_runtime.dst_propolis_id.take();
debug_assert_eq!(
_prev_target_id,
Some(migration.target_propolis_id)
);
new_runtime.dst_propolis_id = None;
// If the active VMM has also been destroyed, don't delete
// virtual provisioning records while cleaning it up.
deprovision = false;
Expand Down

0 comments on commit a5f7c91

Please sign in to comment.