Skip to content

Commit

Permalink
Fix clippy::needless_update lint (#5907)
Browse files Browse the repository at this point in the history
This lint was introduced while merging #5980. Because the `updater_id`
and `updater_gen` fields are no longer part of `InstanceRuntimeState`,
the struct update syntax now doesn't provide any fields and Clippy asks
us to remove it.
  • Loading branch information
hawkw authored Jun 18, 2024
1 parent 13f5137 commit 754fcd0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nexus/db-queries/src/db/datastore/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,6 @@ mod tests {
propolis_id: Some(active_vmm.id),
dst_propolis_id: Some(target_vmm.id),
migration_id: Some(migration.id),
..snapshot.instance.runtime_state.clone()
},
)
.await
Expand Down

0 comments on commit 754fcd0

Please sign in to comment.