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

kubernetes-sigs / azurefile-csi-driver / 24272901197
74%
master: 74%

Build:
Build:
LAST BUILD BRANCH: sai/fix-code
DEFAULT BRANCH: master
Ran 11 Apr 2026 02:59AM UTC
Jobs 1
Files 26
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 Apr 2026 02:46AM UTC coverage: 73.741% (-0.02%) from 73.761%
24272901197

Pull #3079

github

Andy Zhang
fix: use safe type assertion and fix path construction in createFolderIfNotExists

- Replace unsafe type assertion fileClient.(*azureFileDataplaneClient) with
  comma-ok pattern to prevent potential panic
- Separate nil error check from type assertion to avoid dereferencing nil
  fileClient when newAzureFileClient returns an error
- Fix currentPath construction: use currentPath != "" instead of i > 0
  to correctly handle skipped empty components in paths like "a//b"
- Store type assertion result in local variable to avoid repeated assertions
Pull Request #3079: fix: use safe type assertion and fix path construction in createFolderIfNotExists

7 of 10 new or added lines in 1 file covered. (70.0%)

14 existing lines in 1 file now uncovered.

3440 of 4665 relevant lines covered (73.74%)

9.49 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
75.37
-0.1% pkg/azurefile/azurefile.go

Coverage Regressions

Lines Coverage ∆ File
14
75.37
-0.1% pkg/azurefile/azurefile.go
Jobs
ID Job ID Ran Files Coverage
1 24272901197.1 11 Apr 2026 02:59AM UTC 26
73.74
GitHub Action Run
Source Files on build 24272901197
  • Tree
  • List 26
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3079
  • PR Base - master (#24272724408)
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