You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace cpu string literal with platformTypeCPU constant
The goconst linter requires string literals used 4+ times to be constants.
Created platformTypeCPU constant and replaced all "cpu" string literals
in instance.go and instance_test.go.
- Add const platformTypeCPU = "cpu"
- Replace all "cpu" string literals with platformTypeCPU
- Remove unused nolint directive from instance_test.go
- Verified with: /tmp/golangci-lint run (0 issues)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments