fix: avoid panic when node is re-added to probe list #902
75.58% of diff hit (target 57.54%)
View this Pull Request on Codecov
75.58% of diff hit (target 57.54%)
Annotations
Check warning on line 153 in v2/coord/coordinator.go
codecov / codecov/patch
v2/coord/coordinator.go#L153
Added line #L153 was not covered by tests
Check warning on line 162 in v2/coord/coordinator.go
codecov / codecov/patch
v2/coord/coordinator.go#L161-L162
Added lines #L161 - L162 were not covered by tests
Check warning on line 244 in v2/coord/coordinator.go
codecov / codecov/patch
v2/coord/coordinator.go#L244
Added line #L244 was not covered by tests
Check warning on line 250 in v2/coord/coordinator.go
codecov / codecov/patch
v2/coord/coordinator.go#L250
Added line #L250 was not covered by tests
Check warning on line 342 in v2/coord/coordinator.go
codecov / codecov/patch
v2/coord/coordinator.go#L342
Added line #L342 was not covered by tests
Check warning on line 496 in v2/coord/coordinator.go
codecov / codecov/patch
v2/coord/coordinator.go#L488-L496
Added lines #L488 - L496 were not covered by tests
Check warning on line 156 in v2/coord/event.go
codecov / codecov/patch
v2/coord/event.go#L155-L156
Added lines #L155 - L156 were not covered by tests
Check warning on line 176 in v2/coord/event.go
codecov / codecov/patch
v2/coord/event.go#L175-L176
Added lines #L175 - L176 were not covered by tests
Check warning on line 185 in v2/coord/event.go
codecov / codecov/patch
v2/coord/event.go#L184-L185
Added lines #L184 - L185 were not covered by tests
Check warning on line 75 in v2/coord/internal/nettest/routing.go
codecov / codecov/patch
v2/coord/internal/nettest/routing.go#L75
Added line #L75 was not covered by tests
Check warning on line 26 in v2/coord/internal/tiny/node.go
codecov / codecov/patch
v2/coord/internal/tiny/node.go#L25-L26
Added lines #L25 - L26 were not covered by tests
Check warning on line 227 in v2/coord/network.go
codecov / codecov/patch
v2/coord/network.go#L227
Added line #L227 was not covered by tests
Check warning on line 242 in v2/coord/network.go
codecov / codecov/patch
v2/coord/network.go#L242
Added line #L242 was not covered by tests
Check warning on line 246 in v2/coord/network.go
codecov / codecov/patch
v2/coord/network.go#L246
Added line #L246 was not covered by tests
Check warning on line 250 in v2/coord/network.go
codecov / codecov/patch
v2/coord/network.go#L250
Added line #L250 was not covered by tests
Check warning on line 89 in v2/coord/query/iter.go
codecov / codecov/patch
v2/coord/query/iter.go#L89
Added line #L89 was not covered by tests
Check warning on line 40 in v2/coord/query/node.go
codecov / codecov/patch
v2/coord/query/node.go#L36-L40
Added lines #L36 - L40 were not covered by tests
Check warning on line 97 in v2/coord/query/pool.go
codecov / codecov/patch
v2/coord/query/pool.go#L97
Added line #L97 was not covered by tests
Check warning on line 100 in v2/coord/query/pool.go
codecov / codecov/patch
v2/coord/query/pool.go#L99-L100
Added lines #L99 - L100 were not covered by tests
Check warning on line 132 in v2/coord/query/pool.go
codecov / codecov/patch
v2/coord/query/pool.go#L126-L132
Added lines #L126 - L132 were not covered by tests
Check warning on line 154 in v2/coord/query/pool.go
codecov / codecov/patch
v2/coord/query/pool.go#L154
Added line #L154 was not covered by tests
Check warning on line 159 in v2/coord/query/pool.go
codecov / codecov/patch
v2/coord/query/pool.go#L158-L159
Added lines #L158 - L159 were not covered by tests
Check warning on line 188 in v2/coord/query/pool.go
codecov / codecov/patch
v2/coord/query/pool.go#L188
Added line #L188 was not covered by tests
Check warning on line 216 in v2/coord/query/pool.go
codecov / codecov/patch
v2/coord/query/pool.go#L211-L216
Added lines #L211 - L216 were not covered by tests
Check warning on line 226 in v2/coord/query/pool.go
codecov / codecov/patch
v2/coord/query/pool.go#L221-L226
Added lines #L221 - L226 were not covered by tests