Skip to content

Check for nil hostfs option while setting up cgroups #364

Check for nil hostfs option while setting up cgroups

Check for nil hostfs option while setting up cgroups #364

Triggered via pull request March 4, 2024 16:11
Status Failure
Total duration 59s
Artifacts

golangci-lint.yml

on: pull_request
lint-darwin
49s
lint-darwin
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 5 warnings
lint (windows): metric/system/cgroup/reader.go#L73
directive `// nolint: deadcode,structcheck,unused // needed by other platforms` should be written without leading space as `//nolint: deadcode,structcheck,unused // needed by other platforms` (nolintlint)
lint (windows)
issues found
lint (linux)
The job was canceled because "windows" failed.
lint (linux): metric/system/cgroup/reader.go#L73
directive `// nolint: deadcode,structcheck,unused // needed by other platforms` should be written without leading space as `//nolint: deadcode,structcheck,unused // needed by other platforms` (nolintlint)
lint (linux)
issues found
lint-darwin: metric/system/cgroup/reader.go#L73
directive `// nolint: deadcode,structcheck,unused // needed by other platforms` should be written without leading space as `//nolint: deadcode,structcheck,unused // needed by other platforms` (nolintlint)
lint-darwin
issues found
lint (windows)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint (windows)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (linux)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint-darwin
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint-darwin
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/