Fix linter errors #4314
Annotations
10 errors and 2 warnings
golangci-lint:
internal/monitor/exporter.go#L104
Error return value of `ocExporter.Stop` is not checked (errcheck)
|
golangci-lint:
tools/integration_tests/mounting/gcsfuse_linux_test.go#L43
Error return value of `util.Unmount` is not checked (errcheck)
|
golangci-lint:
tools/integration_tests/mounting/gcsfuse_test.go#L219
Error return value of `util.Unmount` is not checked (errcheck)
|
golangci-lint:
tools/integration_tests/mounting/gcsfuse_test.go#L236
Error return value of `util.Unmount` is not checked (errcheck)
|
golangci-lint:
tools/integration_tests/mounting/gcsfuse_test.go#L494
Error return value of `cmd.Wait` is not checked (errcheck)
|
golangci-lint:
tools/integration_tests/mounting/gcsfuse_test.go#L495
Error return value of `cmd.Process.Kill` is not checked (errcheck)
|
golangci-lint:
tools/integration_tests/mounting/gcsfuse_test.go#L24
File is not `goimports`-ed (goimports)
|
golangci-lint:
tools/integration_tests/mounting/gcsfuse_test.go#L20
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
golangci-lint:
tools/integration_tests/mounting/mount_helper_test.go#L19
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
golangci-lint:
internal/gcsx/append_object_creator_test.go#L243
Error return value of `t.call` is not checked (errcheck)
|
golangci-lint
The `save-state` 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/
|
golangci-lint
The `save-state` 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/
|
The logs for this run have expired and are no longer available.
Loading