File tree 1 file changed +3
-3
lines changed
src/main/kotlin/spp/cli/commands/developer/instrument
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,21 +95,21 @@ class SubscribeInstrument : CliktCommand(
95
95
when (liveEvent.eventType) {
96
96
LiveInstrumentEventType .LOG_HIT -> {
97
97
val logHit = liveEvent as LiveLogHit
98
- if (logHit.logId !in instrumentIds) {
98
+ if (logHit.instrument.id !in instrumentIds) {
99
99
return @consumer
100
100
}
101
101
}
102
102
103
103
LiveInstrumentEventType .BREAKPOINT_HIT -> {
104
104
val breakpointHit = liveEvent as LiveBreakpointHit
105
- if (breakpointHit.breakpointId !in instrumentIds) {
105
+ if (breakpointHit.instrument.id !in instrumentIds) {
106
106
return @consumer
107
107
}
108
108
}
109
109
110
110
LiveInstrumentEventType .BREAKPOINT_REMOVED , LiveInstrumentEventType .LOG_REMOVED -> {
111
111
val logRemoved = liveEvent as LiveInstrumentRemoved
112
- if (logRemoved.liveInstrument .id !in instrumentIds) {
112
+ if (logRemoved.instrument .id !in instrumentIds) {
113
113
return @consumer
114
114
}
115
115
}
You can’t perform that action at this time.
0 commit comments