Skip to content

Commit b37cc33

Browse files
committed
1 parent a912c2e commit b37cc33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

services/src/main/kotlin/spp/probe/services/common/ContextReceiver.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ object ContextReceiver {
4949

5050
operator fun get(instrumentId: String): ContextMap {
5151
val contextMap = ContextMap()
52-
contextMap.fields = fields[instrumentId]
53-
contextMap.localVariables = localVariables[instrumentId]
54-
contextMap.staticFields = staticFields[instrumentId]
52+
contextMap.fields = fields[instrumentId]?.map { it.key to it.value.second }?.toMap()
53+
contextMap.localVariables = localVariables[instrumentId]?.map { it.key to it.value.second }?.toMap()
54+
contextMap.staticFields = staticFields[instrumentId]?.map { it.key to it.value.second }?.toMap()
5555
return contextMap
5656
}
5757

0 commit comments

Comments
 (0)