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

kubeovn / kube-ovn / 26349097361
24%
master: 25%

Build:
Build:
LAST BUILD BRANCH: chore/update-arp-deps
DEFAULT BRANCH: master
Ran 24 May 2026 02:02AM UTC
Jobs 1
Files 202
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 May 2026 01:58AM UTC coverage: 23.992% (+0.002%) from 23.99%
26349097361

push

github

oilbeater
fix(controller): avoid panic in external VPC sync when no logical switch is found (#6777)

Three issues addressed in syncExternalVpc / getNonKubeovnRouterStatus:

- Fix index out of range panic at external_vpc.go when ListLogicalSwitch
  returns an empty slice without error: the previous guard only rejected
  err != nil or len > 1, so len == 0 fell through to switches[0] (#6774).
- Move the vpc.Status.Subnets reset to before the append loop so the
  subnets collected from the logical router are actually persisted on
  the freshly created external VPC instead of being overwritten with [].
- Split combined error/length guards in the peerPorts block, fix %s
  formatting of a util.Port struct, and inline the temporary
  aLogicalSwitch variable.

Closes #6774

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
(cherry picked from commit 9aa6246b9)
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

0 of 12 new or added lines in 1 file covered. (0.0%)

2 existing lines in 1 file now uncovered.

13151 of 54815 relevant lines covered (23.99%)

0.28 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
0.0
0.0% pkg/controller/external_vpc.go

Coverage Regressions

Lines Coverage ∆ File
2
0.0
0.0% pkg/controller/external_vpc.go
Jobs
ID Job ID Ran Files Coverage
1 26349097361.1 24 May 2026 02:02AM UTC 202
23.99
GitHub Action Run
Source Files on build 26349097361
  • Tree
  • List 202
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 91515b67 on github
  • Prev Build on release-1.15 (#26271536955)
  • Next Build on release-1.15 (#26385654234)
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