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

qiniu / kube-ovn / 24703429115

21 Apr 2026 04:01AM UTC coverage: 24.772% (+0.2%) from 24.541%
24703429115

Pull #46

github

zbb88888
fix(controller): promote bgpVipIndexName to package-level const and correct comment

- Move bgpVipIndexName from function-scoped (Run) to package-level const so both
  controller.go (indexer registration) and vip.go (ByIndex call) reference the same
  symbol; a rename is now caught at compile time instead of silently returning empty
  results at runtime.
- Correct misleading comment in enqueueUpdateVirtualIP: the Kubernetes informer does
  call UpdateFunc for status-only updates, so the handler fires on any VIP modification.
  The spec-change block is independent and only enqueues to updateVirtualIPQueue on
  Spec field changes; the bgp_lb_vip re-enqueue block runs on the first IP allocation
  event (oldVip.Status.V4ip == "" → non-empty) regardless of spec changes.
Pull Request #46: support BGP EIP management for LoadBalancer(仅 review)

168 of 357 new or added lines in 7 files covered. (47.06%)

5 existing lines in 3 files now uncovered.

14046 of 56701 relevant lines covered (24.77%)

0.29 hits per line

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

1.11
/pkg/controller/controller.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