90
}
91
93
>
if len(details) > summaryMaxDetailBytes {
95
>
tailBytes := summaryMaxDetailBytes - len(summaryTruncatedMarker) - headBytes
96
>
details = details[:headBytes] + summaryTruncatedMarker + details[len(details)-tailBytes:]
97
>
}
99
>
Kind: kind,
100
>
Name: name,
101
>
Details: details,
102
>
Final: strings.Contains(name, "(final)"),
103
>
}
104
}
105