We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a912c2e commit b37cc33Copy full SHA for b37cc33
services/src/main/kotlin/spp/probe/services/common/ContextReceiver.kt
@@ -49,9 +49,9 @@ object ContextReceiver {
49
50
operator fun get(instrumentId: String): ContextMap {
51
val contextMap = ContextMap()
52
- contextMap.fields = fields[instrumentId]
53
- contextMap.localVariables = localVariables[instrumentId]
54
- contextMap.staticFields = staticFields[instrumentId]
+ contextMap.fields = fields[instrumentId]?.map { it.key to it.value.second }?.toMap()
+ contextMap.localVariables = localVariables[instrumentId]?.map { it.key to it.value.second }?.toMap()
+ contextMap.staticFields = staticFields[instrumentId]?.map { it.key to it.value.second }?.toMap()
55
return contextMap
56
}
57
0 commit comments