Skip to content

Commit 5aed2ec

Browse files
committed
fix auto resolving for spp install
1 parent e61271a commit 5aed2ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/commonMain/kotlin/spp.protocol/artifact/trace/Trace.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ data class Trace(
3838
val traceIds: List<String>,
3939
val partial: Boolean = false,
4040
val segmentId: String? = null,
41-
val meta: Map<String, String> = mutableMapOf()
41+
val meta: MutableMap<String, String> = mutableMapOf()
4242
) {
4343
override fun equals(other: Any?): Boolean {
4444
if (this === other) return true

src/commonMain/kotlin/spp.protocol/artifact/trace/TraceSpan.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ data class TraceSpan(
7070
meta[tag] = value
7171
}
7272

73-
fun putMetaInt(tag: String): Int? {
73+
fun getMetaInt(tag: String): Int? {
7474
return meta[tag]?.toIntOrNull()
7575
}
7676

0 commit comments

Comments
 (0)