Skip to content

Commit c6a1893

Browse files
committed
Fix conflicts
1 parent 319b9dc commit c6a1893

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ide-common/src/main/java/org/digma/intellij/plugin/insights/view/BuildersHolder.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import org.digma.intellij.plugin.model.rest.insights.SpanSlowEndpointsInsight;
1818
import org.digma.intellij.plugin.model.rest.insights.SpanUsagesInsight;
1919
import org.digma.intellij.plugin.model.rest.insights.UnmappedInsight;
20+
import org.digma.intellij.plugin.model.rest.insights.SpanScalingRootCauseInsight;
2021
import org.digma.intellij.plugin.ui.model.insights.InsightGroupType;
2122
import org.digma.intellij.plugin.view.EmptyListViewItemBuilder;
2223
import org.digma.intellij.plugin.view.ListViewItemBuilder;
@@ -57,7 +58,7 @@ private ListViewItemBuilder<? extends CodeObjectInsight> newBuilder(InsightType
5758
case SpanScaling:
5859
return new GroupListViewItemBuilder<SpanScalingInsight>(InsightGroupType.Span, null, SpanScalingInsight::spanName);
5960
case SpanScalingRootCause:
60-
return new GroupListViewItemBuilder<SpanScalingRootCauseInsight>(InsightGroupType.Span, null, spanScalingRootCauseInsight -> spanScalingRootCauseInsight.getSpanInfo().getName());
61+
return new GroupListViewItemBuilder<SpanScalingRootCauseInsight>(InsightGroupType.Span, null, SpanScalingRootCauseInsight::spanName);
6162
case SpanDurationBreakdown:
6263
return new GroupListViewItemBuilder<SpanDurationBreakdownInsight>(InsightGroupType.Span, null, SpanDurationBreakdownInsight::spanName);
6364
case SpanEndpointBottleneck:

model/src/main/kotlin/org/digma/intellij/plugin/model/rest/insights/SpanScalingRootCauseInsight.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ constructor(
3131
override val customStartTime: Date?,
3232
override val prefixedCodeObjectId: String?,
3333
override val shortDisplayInfo: ShortDisplayInfo?,
34-
val spanInfo: SpanInfo,
34+
override val spanInfo: SpanInfo,
3535
val affectedEndpoints: List<EndpointInfo> = ArrayList()
36-
) : CodeObjectInsight {
36+
) : SpanInsight {
3737

3838
override val type: InsightType = InsightType.SpanScalingRootCause
3939
}

0 commit comments

Comments
 (0)