• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

qiniu / kube-ovn / 27268178992

10 Jun 2026 07:32AM UTC coverage: 25.942% (+0.4%) from 25.591%
27268178992

push

github

web-flow
fix(controller): correct EIP v6 label update in SNAT/DNAT status patch (#6846)

In patchOvnSnatStatus the label replace branch assigned the IPv4 EIP
value to the EipV6IpLabel, and in patchOvnDnatStatus the replace branch
did not update EipV6IpLabel at all, leaving it stale. Both diverged
from their add branches. Also trigger the replace branch when only the
v6 EIP differs, so IPv6-only EIP changes are not missed.

A wrong v6 label breaks the webhook's isOvnEipInUse check, which lists
NAT rules by matching both EipV4IpLabel and EipV6IpLabel, allowing the
deletion of an OvnEip that is still referenced.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

0 of 4 new or added lines in 2 files covered. (0.0%)

1018 existing lines in 15 files now uncovered.

15033 of 57948 relevant lines covered (25.94%)

0.3 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

5.45
/pkg/controller/init.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc