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 376a618 commit b88dc3bCopy full SHA for b88dc3b
observable.go
@@ -258,9 +258,11 @@ func filterRoot(observe <-chan interface{}) <-chan interface{} {
258
259
b := buf[i]
260
261
- if rootflow == 0 && ((b<<2)>>2 == rootkey) {
262
- rootflow = 1
263
- rootBuffer = append(rootBuffer, b)
+ if rootflow == 0 {
+ if (b<<2)>>2 == rootkey {
+ rootflow = 1
264
+ rootBuffer = append(rootBuffer, b)
265
+ }
266
i++
267
continue
268
}
0 commit comments