@@ -21,13 +21,13 @@ impl AnalyzedFlow {
2121 flow_instance : crate :: base:: spec:: FlowInstanceSpec ,
2222 existing_flow_ss : Option < & setup:: FlowSetupState < setup:: ExistingMode > > ,
2323 registry : & ExecutorFactoryRegistry ,
24- auth_registry : Arc < AuthRegistry > ,
24+ auth_registry : & Arc < AuthRegistry > ,
2525 ) -> Result < Self > {
2626 let ctx = analyzer:: build_flow_instance_context ( & flow_instance. name , auth_registry) ;
2727 let ( data_schema, execution_plan_fut, desired_state) =
2828 analyzer:: analyze_flow ( & flow_instance, & ctx, existing_flow_ss, registry) ?;
2929 let setup_status_check =
30- setup:: check_flow_setup_status ( Some ( & desired_state) , existing_flow_ss) ?;
30+ setup:: check_flow_setup_status ( Some ( & desired_state) , existing_flow_ss, auth_registry ) ?;
3131 let execution_plan = if setup_status_check. is_up_to_date ( ) {
3232 Some (
3333 async move {
@@ -73,7 +73,7 @@ impl AnalyzedTransientFlow {
7373 pub async fn from_transient_flow (
7474 transient_flow : spec:: TransientFlowSpec ,
7575 registry : & ExecutorFactoryRegistry ,
76- auth_registry : Arc < AuthRegistry > ,
76+ auth_registry : & Arc < AuthRegistry > ,
7777 ) -> Result < Self > {
7878 let ctx = analyzer:: build_flow_instance_context ( & transient_flow. name , auth_registry) ;
7979 let ( output_type, data_schema, execution_plan_fut) =
0 commit comments