Skip to content

Remove no longer required nolint#488

Merged
wagnerd3 merged 2 commits intomasterfrom
fix-linter
Feb 24, 2026
Merged

Remove no longer required nolint#488
wagnerd3 merged 2 commits intomasterfrom
fix-linter

Conversation

@SuperSandro2000
Copy link
Member

All the other failures hopefully resolve with the next gomm run or golangci-lint update.

Copy link
Contributor

@wagnerd3 wagnerd3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think pkg/actors/report.go:126 should be taken care of manually?

err := statter.Gauge(bucket, value, 1.0) // 1.0 is the `rate` argument
if err != nil {
logg.Error("statsd: could not submit value %d for bucket %q: %s", value, bucket, err.Error())
return
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This return is pointless, because the function ends immediately after.

@github-actions
Copy link

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/sapcc/swift-http-import/pkg/actors 0.00% (ø)
github.com/sapcc/swift-http-import/pkg/objects 1.24% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/sapcc/swift-http-import/pkg/actors/report.go 0.00% (ø) 0 0 0
github.com/sapcc/swift-http-import/pkg/objects/source.go 0.00% (ø) 138 0 138

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

@wagnerd3 wagnerd3 merged commit 213cfaa into master Feb 24, 2026
6 checks passed
@wagnerd3 wagnerd3 deleted the fix-linter branch February 24, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants