@@ -94,6 +94,7 @@ pub async fn load(source: &url::Url, file_root: &Path) -> tables::Sources {
9494/// * If `generate_ops_collections` is set, then ops collections are added into `sources`.
9595/// * If any of `noop_*` is true, then validations are skipped for connectors of that type.
9696pub async fn validate < L > (
97+ allow_local : bool ,
9798 build_id : & str ,
9899 connector_network : & str ,
99100 control_plane : & dyn validation:: ControlPlane ,
@@ -116,6 +117,7 @@ where
116117 :: sources:: inline_sources ( & mut sources) ;
117118
118119 let runtime = runtime:: Runtime :: new (
120+ allow_local,
119121 connector_network. to_string ( ) ,
120122 log_handler,
121123 None ,
@@ -167,6 +169,7 @@ where
167169/// components but not the `flowctl` CLI, which requires finer-grain
168170/// control over build behavior.
169171pub async fn managed_build < L > (
172+ allow_local : bool ,
170173 build_id : String ,
171174 connector_network : String ,
172175 control_plane : Box < dyn validation:: ControlPlane > ,
@@ -179,6 +182,7 @@ where
179182 L : Fn ( & ops:: Log ) + Send + Sync + Clone + ' static ,
180183{
181184 let ( sources, validations) = validate (
185+ allow_local,
182186 & build_id,
183187 & connector_network,
184188 & * control_plane,
0 commit comments