chore: run formatter

This commit is contained in:
hyperswitch-bot[bot]
2025-10-21 11:12:10 +00:00
parent 5423862784
commit 4b9bd47078

View File

@ -184,12 +184,14 @@ where
let previous_gateway = payment_data.and_then(extract_gateway_system_from_payment_intent);
let shadow_rollout_key = format!("{}_shadow", rollout_key);
let shadow_rollout_availability =
if should_execute_based_on_rollout(state, &shadow_rollout_key).await?.should_execute {
ShadowRolloutAvailability::IsAvailable
} else {
ShadowRolloutAvailability::NotAvailable
};
let shadow_rollout_availability = if should_execute_based_on_rollout(state, &shadow_rollout_key)
.await?
.should_execute
{
ShadowRolloutAvailability::IsAvailable
} else {
ShadowRolloutAvailability::NotAvailable
};
// Single decision point using pattern matching
let (gateway_system, execution_path) = if ucs_availability == UcsAvailability::Disabled {
@ -229,7 +231,9 @@ where
create_updated_session_state_with_proxy(state.clone(), &proxy_override)
}
None => {
router_env::logger::debug!("No proxy override available for Shadow UCS, using original state");
router_env::logger::debug!(
"No proxy override available for Shadow UCS, using original state"
);
state.clone()
}
}