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

SchSeba / sriov-network-operator-1 / 20901046984
63%
master: 63%

Build:
Build:
LAST BUILD BRANCH: documentation-re-org
DEFAULT BRANCH: master
Ran 11 Jan 2026 08:13PM UTC
Jobs 1
Files 110
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

11 Jan 2026 08:01PM UTC coverage: 63.622% (+0.2%) from 63.439%
20901046984

push

github

SchSeba
fix: set correct nadFound=true after NAD creation in updateConditions

After successfully creating a NetworkAttachmentDefinition, the controller
was incorrectly calling updateConditions with nadFound=false, which set
the status to 'waiting for namespace' instead of 'ready'.

This fix:
1. Changes nadFound from false to true after successful NAD creation
2. Changes err to nil (since there's no error on success)
3. Adds a unit test that specifically verifies conditions are set to
   Ready=True immediately after NAD creation

The bug was reported by Gemini code review on PR #1010.

Signed-off-by: Sebastian Sch <sebassch@gmail.com>

1 of 1 new or added line in 1 file covered. (100.0%)

6 existing lines in 3 files now uncovered.

9416 of 14800 relevant lines covered (63.62%)

0.71 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.22
-1.69% pkg/status/transitions.go
2
68.75
6.25% pkg/daemon/status.go
3
49.8
0.0% pkg/daemon/daemon.go
Jobs
ID Job ID Ran Files Coverage
1 20901046984.1 11 Jan 2026 08:13PM UTC 110
63.62
GitHub Action Run
Source Files on build 20901046984
  • Tree
  • List 110
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20901046984
  • bfe70eb3 on github
  • Prev Build on conditions/network-crds (#20899843849)
  • Next Build on conditions/network-crds (#21545660953)
  • Delete
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