Skip to content

Add more test cases and refactor metric calculations #10

Add more test cases and refactor metric calculations

Add more test cases and refactor metric calculations #10

Triggered via pull request October 18, 2023 09:55
Status Failure
Total duration 1m 7s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
lint: internal/cgroup/parser/parser.go#L72
unnecessary conversion (unconvert)
lint: internal/cgroup/parser/parser.go#L87
unnecessary conversion (unconvert)
lint: internal/cgroup/parser/parser.go#L93
unnecessary conversion (unconvert)
lint
issues found
lint: internal/cgroup/cgroup_test.go#L18
unused-parameter: parameter 'pid' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/cgroup/cgroup_test.go#L34
unused-parameter: parameter 'state' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/cgroup/cgroup_test.go#L46
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)