File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
model/src/main/kotlin/org/digma/intellij/plugin/model/rest/insights
src/main/kotlin/org/digma/intellij/plugin/ui/list/insights Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ constructor(
1515 val previousDuration: Duration ? ,
1616 val changeTime: Timestamp ? ,
1717 val changeVerified: Boolean? ,
18- val traceIds: List <String >,
18+ val traceIds: List <String >? ,
1919)
Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ fun buildTraceSample(percentile: SpanDurationsPercentile): TraceSample {
318318 val percentileName = " P${(percentile.percentile * 100 ).toInt()} "
319319 var traceId = " "
320320 if (! percentile.traceIds.isNullOrEmpty()) {
321- traceId = percentile.traceIds.first()
321+ traceId = percentile.traceIds!! .first()
322322 }
323323 return TraceSample (percentileName, traceId)
324324}
You can’t perform that action at this time.
0 commit comments