File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,8 +64,6 @@ pub struct GlData {
6464#[ derive( Deserialize , Serialize , Debug , Clone ) ]
6565#[ serde( rename_all = "camelCase" ) ]
6666pub struct LocalData {
67- pub run_id : String ,
68- pub run_part_id : String ,
6967 pub expected_run_parts_count : u32 ,
7068}
7169
Original file line number Diff line number Diff line change @@ -265,9 +265,14 @@ impl RunEnvironmentProvider for LocalProvider {
265265 let mut run_environment_metadata = self . get_run_environment_metadata ( ) ?;
266266
267267 run_environment_metadata. local_data = Some ( LocalData {
268+ expected_run_parts_count : self . expected_run_parts_count ,
269+ } ) ;
270+
271+ let run_part = Some ( RunPart {
268272 run_id : self . run_id . clone ( ) ,
269273 run_part_id : executor_name. to_string ( ) ,
270- expected_run_parts_count : self . expected_run_parts_count ,
274+ job_name : "local-job" . into ( ) ,
275+ metadata : Default :: default ( ) ,
271276 } ) ;
272277
273278 Ok ( UploadMetadata {
@@ -287,11 +292,10 @@ impl RunEnvironmentProvider for LocalProvider {
287292 system_info : system_info. clone ( ) ,
288293 } ,
289294 run_environment : self . get_run_environment ( ) ,
290- run_part : self . get_run_provider_run_part ( ) ,
295+ run_part,
291296 } )
292297 }
293298
294- /// For local runs have, we cannot really send anything here
295299 fn get_run_provider_run_part ( & self ) -> Option < RunPart > {
296300 None
297301 }
You can’t perform that action at this time.
0 commit comments