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

oracle / oci-cloud-controller-manager / 24521951809
35%
master: 36%

Build:
Build:
LAST BUILD BRANCH: pr/flex-cidr-allocator
DEFAULT BRANCH: master
Ran 17 Apr 2026 11:16AM UTC
Jobs 1
Files 64
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

16 Apr 2026 04:32PM UTC coverage: 35.464%. Remained the same
24521951809

Pull #524

github

HadrienPatte
External-ccm: Use appropriate method for printf-style log calls

zap's sugared logger `Fatal`/`Error`/`Info`/`Debug` methods treat their
first argument as a plain string, not a format string. Passing format
verbs like `%s`/`%v` without the 'f' suffix causes them to appear
literally in log output instead of being interpolated.

Example of a log with no printf formatting we can see today:
```
2026-03-06T21:08:01.983Z        FATAL   FSS     csi-controller-driver/oci-csi-controller-driver.go:56 Failed to run the CSI driver for %s.FSS {"component": "csi-controller", "error": "failed to remove unix domain socket file /var/run/shared-tmpfs/csi-fss.sock"}
```

Also removed a duplicated error from a log in `node_info_controller.go`
where `err` was attached to the log both with `zap.Error(err)` and
through a (broken) printf-style `%v`.

Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
Pull Request #524: External-ccm: Use appropriate method for printf-style log calls

3 of 8 new or added lines in 6 files covered. (37.5%)

6386 of 18007 relevant lines covered (35.46%)

6.64 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
2.72
0.0% pkg/oci/client/client.go
1
35.26
0.0% pkg/cloudprovider/providers/oci/node_info_controller.go
1
26.05
0.0% pkg/oci/client/network_load_balancer.go
1
12.43
0.0% pkg/util/disk/mount_helper.go
Jobs
ID Job ID Ran Files Coverage
1 24521951809.1 17 Apr 2026 11:16AM UTC 64
35.46
GitHub Action Run
Source Files on build 24521951809
  • Tree
  • List 64
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #524
  • PR Base - master (#24520405833)
  • 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