Skip to content

Remove possible nil pointer dereference in mkdir #59

Remove possible nil pointer dereference in mkdir

Remove possible nil pointer dereference in mkdir #59

Triggered via pull request October 23, 2023 13:54
Status Failure
Total duration 2m 46s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

linters.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 10 warnings
golangci-lint: service/service_test.go#L21
G108: Profiling endpoint is automatically exposed on /debug/pprof (gosec)
golangci-lint: service/service_test.go#L32
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
golangci-lint: service/step_handlers_test.go#L1138
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
golangci-lint: test/integration/integration_test.go#L123
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
golangci-lint: test/integration/integration_test.go#L135
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
golangci-lint: test/integration/step_defs_test.go#L872
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
golangci-lint: test/integration/step_defs_test.go#L881
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
golangci-lint: test/integration/step_defs_test.go#L911
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
golangci-lint
issues found
golangci-lint: service/controller.go#L650
redefines-builtin-id: redefinition of the built-in type error (revive)
golangci-lint: service/controller.go#L653
redefines-builtin-id: redefinition of the built-in type error (revive)
golangci-lint: service/controller.go#L1286
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L1287
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L1471
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L1472
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L1879
unused-parameter: parameter 'vol' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L2071
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L2071
unused-parameter: parameter 'request' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/identity.go#L33
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)