|
Ran
|
Jobs
1
|
Files
202
|
Run time
1min
|
Badge
README BADGES
|
push
github
fix(controller): avoid nil pointer panic when attachment default subnet is gone (#6843) getPodAttachmentNet falls back to getPodDefaultSubnet when an OVN attachment network resolves to no subnet. getPodDefaultSubnet returns (nil, nil) for a terminating pod whose top-level logical_switch annotation points at an already-deleted subnet, leaving the orphaned ip cr to gc. The caller only checked the error and then dereferenced subnet.Name, panicking the controller. Skip the unresolvable attachment when the default subnet is nil, matching the behavior of the other not-found branches in the same function. Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> (cherry picked from commit 1fa2b218d)
5 of 5 new or added lines in 1 file covered. (100.0%)
54 existing lines in 1 file now uncovered.13293 of 54895 relevant lines covered (24.22%)
0.28 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 54 |
75.65 |
1.06% | pkg/ovs/ovn-nb-logical_router_route.go |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 27260199016.1 | 202 |
24.22 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|