mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	chore: run formatter
This commit is contained in:
		| @ -184,8 +184,10 @@ where | |||||||
|     let previous_gateway = payment_data.and_then(extract_gateway_system_from_payment_intent); |     let previous_gateway = payment_data.and_then(extract_gateway_system_from_payment_intent); | ||||||
|     let shadow_rollout_key = format!("{}_shadow", rollout_key); |     let shadow_rollout_key = format!("{}_shadow", rollout_key); | ||||||
|  |  | ||||||
|     let shadow_rollout_availability = |     let shadow_rollout_availability = if should_execute_based_on_rollout(state, &shadow_rollout_key) | ||||||
|         if should_execute_based_on_rollout(state, &shadow_rollout_key).await?.should_execute { |         .await? | ||||||
|  |         .should_execute | ||||||
|  |     { | ||||||
|         ShadowRolloutAvailability::IsAvailable |         ShadowRolloutAvailability::IsAvailable | ||||||
|     } else { |     } else { | ||||||
|         ShadowRolloutAvailability::NotAvailable |         ShadowRolloutAvailability::NotAvailable | ||||||
| @ -229,7 +231,9 @@ where | |||||||
|                     create_updated_session_state_with_proxy(state.clone(), &proxy_override) |                     create_updated_session_state_with_proxy(state.clone(), &proxy_override) | ||||||
|                 } |                 } | ||||||
|                 None => { |                 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() |                     state.clone() | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	![148525504+hyperswitch-bot[bot]@users.noreply.github.com](/assets/img/avatar_default.png) hyperswitch-bot[bot]
					hyperswitch-bot[bot]