Skip to content

Fix linting errors: error handling, constants, and code quality - #7

Merged
CangioUni merged 1 commit into
mainfrom
claude/fix-errors-0126hs62hTqoyg9VfBA9VtSW
Nov 20, 2025
Merged

Fix linting errors: error handling, constants, and code quality#7
CangioUni merged 1 commit into
mainfrom
claude/fix-errors-0126hs62hTqoyg9VfBA9VtSW

Conversation

@CangioUni

Copy link
Copy Markdown
Owner
  • Add error checking for tmpFile.Seek, logFile.Sync, and rw.Write
  • Create constants for repeated strings "UNKNOWN" and "allow"
  • Remove unused type prometheusMetricKey
  • Refactor generateBlockPage to reduce function length (split into helper functions)
  • Remove unused req parameter from servePrometheusMetrics

All linting errors have been resolved.

- Add error checking for tmpFile.Seek, logFile.Sync, and rw.Write
- Create constants for repeated strings "UNKNOWN" and "allow"
- Remove unused type prometheusMetricKey
- Refactor generateBlockPage to reduce function length (split into helper functions)
- Remove unused req parameter from servePrometheusMetrics

All linting errors have been resolved.
@CangioUni
CangioUni merged commit bdd4444 into main Nov 20, 2025
13 of 17 checks passed
@CangioUni
CangioUni deleted the claude/fix-errors-0126hs62hTqoyg9VfBA9VtSW branch November 20, 2025 10:26
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