@@ -174,16 +174,16 @@ pub(super) struct QueueBuildView {
174174}
175175
176176pub ( super ) struct EvalView {
177- pub ( super ) id : Uuid ,
178- pub ( super ) commit_hash : String ,
179- pub ( super ) commit_short : String ,
180- pub ( super ) status_text : String ,
181- pub ( super ) status_class : String ,
182- pub ( super ) time : String ,
183- pub ( super ) error_lines : Vec < BuildErrorLine > ,
184- pub ( super ) hidden : bool ,
185- pub ( super ) jobset_name : String ,
186- pub ( super ) project_name : String ,
177+ pub ( super ) id : Uuid ,
178+ pub ( super ) commit_hash : String ,
179+ pub ( super ) commit_short : String ,
180+ pub ( super ) status_text : String ,
181+ pub ( super ) status_class : String ,
182+ pub ( super ) time : String ,
183+ pub ( super ) error_message : String ,
184+ pub ( super ) hidden : bool ,
185+ pub ( super ) jobset_name : String ,
186+ pub ( super ) project_name : String ,
187187}
188188
189189pub ( super ) struct EvalSummaryView {
@@ -763,20 +763,16 @@ impl From<&Evaluation> for EvalView {
763763 e. commit_hash . clone ( )
764764 } ;
765765 Self {
766- id : e. id ,
767- commit_hash : e. commit_hash . clone ( ) ,
768- commit_short : short,
769- status_text : text. to_string ( ) ,
770- status_class : class. to_string ( ) ,
771- time : e. evaluation_time . format ( "%Y-%m-%d %H:%M" ) . to_string ( ) ,
772- error_lines : e
773- . error_message
774- . as_deref ( )
775- . map ( parse_build_error)
776- . unwrap_or_default ( ) ,
777- hidden : e. hidden ,
778- jobset_name : String :: new ( ) ,
779- project_name : String :: new ( ) ,
766+ id : e. id ,
767+ commit_hash : e. commit_hash . clone ( ) ,
768+ commit_short : short,
769+ status_text : text. to_string ( ) ,
770+ status_class : class. to_string ( ) ,
771+ time : e. evaluation_time . format ( "%Y-%m-%d %H:%M" ) . to_string ( ) ,
772+ error_message : e. error_message . clone ( ) . unwrap_or_default ( ) ,
773+ hidden : e. hidden ,
774+ jobset_name : String :: new ( ) ,
775+ project_name : String :: new ( ) ,
780776 }
781777 }
782778}
0 commit comments