We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e61271a commit 5aed2ecCopy full SHA for 5aed2ec
src/commonMain/kotlin/spp.protocol/artifact/trace/Trace.kt
@@ -38,7 +38,7 @@ data class Trace(
38
val traceIds: List<String>,
39
val partial: Boolean = false,
40
val segmentId: String? = null,
41
- val meta: Map<String, String> = mutableMapOf()
+ val meta: MutableMap<String, String> = mutableMapOf()
42
) {
43
override fun equals(other: Any?): Boolean {
44
if (this === other) return true
src/commonMain/kotlin/spp.protocol/artifact/trace/TraceSpan.kt
@@ -70,7 +70,7 @@ data class TraceSpan(
70
meta[tag] = value
71
}
72
73
- fun putMetaInt(tag: String): Int? {
+ fun getMetaInt(tag: String): Int? {
74
return meta[tag]?.toIntOrNull()
75
76
0 commit comments