Skip to content

[improvement] address gocognit issues - #610

Open
AshleyDumaine wants to merge 1 commit into
mainfrom
gocognit
Open

[improvement] address gocognit issues#610
AshleyDumaine wants to merge 1 commit into
mainfrom
gocognit

Conversation

@AshleyDumaine

Copy link
Copy Markdown
Contributor

Adds the gocognit linter and addresses 4 issues found, splitting the problematic functions to use smaller helpers.

@github-actions github-actions Bot added the improvement for improvements in existing functionality in the changelog. label Aug 25, 2026
@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 63.03318% with 78 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.49%. Comparing base (a04921b) to head (eb6e7dc).

Files with missing lines Patch % Lines
cloud/nodeipam/ipam/cloud_allocator.go 42.85% 41 Missing and 11 partials ⚠️
cloud/linode/loadbalancers.go 79.72% 10 Missing and 5 partials ⚠️
cloud/linode/services/instances.go 76.08% 9 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #610      +/-   ##
==========================================
+ Coverage   75.21%   75.49%   +0.27%     
==========================================
  Files          18       18              
  Lines        2679     2730      +51     
==========================================
+ Hits         2015     2061      +46     
- Misses        453      455       +2     
- Partials      211      214       +3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement for improvements in existing functionality in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant