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

NVIDIA / nvidia-container-toolkit / 38473151400
44%
main: 45%

Build:
Build:
LAST BUILD BRANCH: pull-request/2122
DEFAULT BRANCH: main
Ran 13 Oct 2026 09:47PM UTC
Jobs 1
Files 248
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

28 Sep 2026 07:13PM UTC coverage: 44.143% (+0.04%) from 44.106%
38473151400

push

github

v0ropaev
Fix the config option name in the unsupported-capability panic

getConfigOption reflects over **hookConfig to read the toml tag of a field.
FieldByName panics on anything that is not a struct type, so the call that
was meant to name the option in the panic message panics first:

  reflect: FieldByName of non-struct type **main.hookConfig

The one caller is the invalid-capability branch in getHookConfig, so a
container start with a bad supported-driver-capabilities reports a
reflection error instead of naming the option and the value. The existing
test only asserts that something panics, so it stays green either way.

Reflect over hookConfig. FieldByName walks the embedded *Config, so the
tag comes back as supported-driver-capabilities.

Predates the modernize pass: reflect.TypeOf(&c) had the same problem, with
c already a *hookConfig.

Signed-off-by: Dmitry Voropaev <dy.voropaev@gmail.com>

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

5984 of 13556 relevant lines covered (44.14%)

0.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38473151400.1 13 Oct 2026 09:47PM UTC 248
44.14
GitHub Action Run
Source Files on build 38473151400
  • Tree
  • List 248
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38473151400
  • 527997c9 on github
  • Prev Build on main (#35657009444)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc