Skip to content

Commit

Permalink
storcon: fix is_attached_outside_preferred_az
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsp committed Jan 20, 2025
1 parent 2d0aa87 commit d483489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage_controller/src/tenant_shard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1806,7 +1806,7 @@ impl TenantShard {
.get(&node_id)
.expect("referenced node exists")
.get_availability_zone_id(),
) == self.intent.preferred_az_id.as_ref()
) != self.intent.preferred_az_id.as_ref()
})
.unwrap_or(false)
}
Expand Down

0 comments on commit d483489

Please sign in to comment.