From 3f72446b1bfb0d999de373e73630ca97cf50ef62 Mon Sep 17 00:00:00 2001 From: Tiemo Bang Date: Tue, 14 May 2024 16:32:13 -0700 Subject: [PATCH] fix: Changed API of Loader --- skypie_lib/examples/candidate_and_reduce_launch.rs | 2 +- skypie_lib/examples/logger_launch.rs | 3 ++- skypie_lib/examples/write_choices_simple_demux_launch.rs | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/skypie_lib/examples/candidate_and_reduce_launch.rs b/skypie_lib/examples/candidate_and_reduce_launch.rs index e655a2c..422112d 100644 --- a/skypie_lib/examples/candidate_and_reduce_launch.rs +++ b/skypie_lib/examples/candidate_and_reduce_launch.rs @@ -38,7 +38,7 @@ async fn main() { // Load the input let args = Args::parse(); - let loader = Loader::new(&args.network_file, &args.object_store_file, &args.region_selector, &args.object_store_selector, &args.latency_file, &args.latency_slo); + let loader = Loader::new(&args.network_file, &args.object_store_file, &args.region_selector, &args.object_store_selector, &args.latency_file, &args.latency_slo, None); // Static life time hack for hydroflow lifetime mess let data = Box::new(loader.app_regions); diff --git a/skypie_lib/examples/logger_launch.rs b/skypie_lib/examples/logger_launch.rs index 2c372b2..6cc14e0 100644 --- a/skypie_lib/examples/logger_launch.rs +++ b/skypie_lib/examples/logger_launch.rs @@ -25,7 +25,8 @@ async fn main() { &args.region_selector, &args.object_store_selector, &args.latency_file, - &args.latency_slo + &args.latency_slo, + None, ); let time_input_recv = ports diff --git a/skypie_lib/examples/write_choices_simple_demux_launch.rs b/skypie_lib/examples/write_choices_simple_demux_launch.rs index c418d74..c15003c 100644 --- a/skypie_lib/examples/write_choices_simple_demux_launch.rs +++ b/skypie_lib/examples/write_choices_simple_demux_launch.rs @@ -23,7 +23,8 @@ async fn main() { &args.region_selector, &args.object_store_selector, &args.latency_file, - &args.latency_slo + &args.latency_slo, + None, ); // Get ports