File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
engine/packages/gasoline/src/ctx Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -84,18 +84,18 @@ impl StandaloneCtx {
8484 }
8585
8686 #[ tracing:: instrument( skip_all) ]
87- pub fn new_from_operation ( ctx : & OperationCtx , req_id : Id ) -> WorkflowResult < Self > {
87+ pub fn new_from_operation ( op_ctx : & OperationCtx , req_id : Id ) -> WorkflowResult < Self > {
8888 let mut ctx = StandaloneCtx :: new (
89- ctx . db ( ) . clone ( ) ,
90- ctx . config ( ) . clone ( ) ,
91- ctx . pools ( ) . clone ( ) ,
92- ctx . cache ( ) . clone ( ) ,
93- ctx . name ( ) ,
94- ctx . ray_id ( ) ,
89+ op_ctx . db ( ) . clone ( ) ,
90+ op_ctx . config ( ) . clone ( ) ,
91+ op_ctx . pools ( ) . clone ( ) ,
92+ op_ctx . cache ( ) . clone ( ) ,
93+ op_ctx . name ( ) ,
94+ op_ctx . ray_id ( ) ,
9595 req_id,
9696 ) ?;
9797
98- ctx. from_workflow = ctx . from_workflow ;
98+ ctx. from_workflow = true ;
9999
100100 Ok ( ctx)
101101 }
You can’t perform that action at this time.
0 commit comments