Skip to content

prometheus: fix revive indent-error-flow lint on Darwin - #2131

Merged
kakkoyun merged 1 commit into
mainfrom
fix-darwin-process-collector-lint
Sep 22, 2026
Merged

kakkoyun merged 1 commit into
mainfrom
fix-darwin-process-collector-lint

Conversation

@bwplotka

@bwplotka bwplotka commented Sep 22, 2026 •

Copy link
Copy Markdown
Member

Outdent statements and drop redundant else branches following return statements in getOpenFileCount to satisfy revive's indent-error-flow rule on Darwin.

Outdent statements and drop redundant else branches following return statements in getOpenFileCount to satisfy revive's indent-error-flow rule on Darwin.

Signed-off-by: bwplotka <bwplotka@gmail.com>
@kakkoyun
kakkoyun merged commit 196813c into main Sep 22, 2026
15 checks passed
@kakkoyun
kakkoyun deleted the fix-darwin-process-collector-lint branch September 22, 2026 11:30
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.

2 participants