Skip to content

Commit

Permalink
updates after rebase on main
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjstone committed Jan 7, 2025
1 parent 5eb8178 commit 837d5a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nexus/db-queries/src/db/datastore/support_bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ mod test {
.values()
.flat_map(|zones_config| {
let mut nexus_zones = vec![];
for zone in &zones_config.zones {
for (_, zone) in &zones_config.zones {
if matches!(zone.zone_type, BlueprintZoneType::Nexus(_))
&& zone.disposition.matches(filter)
{
Expand Down Expand Up @@ -957,7 +957,7 @@ mod test {

fn expunge_nexus_for_bundle(bp: &mut Blueprint, bundle: &SupportBundle) {
for zones in bp.blueprint_zones.values_mut() {
for zone in &mut zones.zones {
for (_, zone) in &mut zones.zones {
if zone.id == bundle.assigned_nexus.unwrap().into() {
zone.disposition = BlueprintZoneDisposition::Expunged;
}
Expand Down

0 comments on commit 837d5a9

Please sign in to comment.