Skip to content

App: Ignore returned err (errcheck) - #848

Merged
markylaing merged 1 commit into
canonical:v4from
roosterfish:fix_lint
Oct 16, 2026
Merged

markylaing merged 1 commit into
canonical:v4from
roosterfish:fix_lint

Conversation

@roosterfish

@roosterfish roosterfish commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Seems like the new golangci-lint version release one hour ago uses a new rule set https://github.com/golangci/golangci-lint/releases/tag/v2.15.0.

We only ever send nil into the chan.
Therefore switch to struct{} as its done for ctx.Done().

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
@roosterfish
roosterfish requested a review from a team October 16, 2026 13:07
@markylaing
markylaing merged commit ae1fbda into canonical:v4 Oct 16, 2026
7 checks passed
markylaing added a commit that referenced this pull request Oct 16, 2026
markylaing added a commit that referenced this pull request Oct 16, 2026
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