diff options
Diffstat (limited to 'rust/examples/workflow.rs')
| -rw-r--r-- | rust/examples/workflow.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/examples/workflow.rs b/rust/examples/workflow.rs index 59678cad..2d8f0054 100644 --- a/rust/examples/workflow.rs +++ b/rust/examples/workflow.rs @@ -53,7 +53,7 @@ pub fn main() { println!("Registering workflow..."); let old_meta_workflow = Workflow::instance("core.function.metaAnalysis"); - let meta_workflow = old_meta_workflow.clone("core.function.metaAnalysis"); + let meta_workflow = old_meta_workflow.clone_to("core.function.metaAnalysis"); let activity = Activity::new_with_action(RUST_ACTIVITY_CONFIG, example_activity); meta_workflow.register_activity(&activity).unwrap(); meta_workflow.insert("core.function.runFunctionRecognizers", [RUST_ACTIVITY_NAME]); |
