Skip to content

Golint errors fixes #93

Golint errors fixes

Golint errors fixes #93

Triggered via pull request December 27, 2023 10:00
Status Failure
Total duration 1m 13s
Artifacts

linters.yaml

on: pull_request
golangci-lint
1m 2s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 9 warnings
golangci-lint: pkg/controller/controller_test.go#L2048
File is not `gofumpt`-ed (gofumpt)
golangci-lint: pkg/controller/csi_extension_server_test.go#L130
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
golangci-lint: pkg/controller/csi_extension_server_test.go#L304
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
golangci-lint: pkg/controller/csi_extension_server_test.go#L331
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
golangci-lint: pkg/controller/csi_extension_server_test.go#L361
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
golangci-lint
issues found
golangci-lint: pkg/controller/controller_test.go#L43
dot-imports: should not use dot imports (revive)
golangci-lint: pkg/controller/csi_extension_server_test.go#L34
dot-imports: should not use dot imports (revive)
golangci-lint: pkg/controller/csi_extension_server_test.go#L35
dot-imports: should not use dot imports (revive)
golangci-lint: pkg/controller/replication_test.go#L28
dot-imports: should not use dot imports (revive)
golangci-lint: pkg/controller/replication_test.go#L29
dot-imports: should not use dot imports (revive)
golangci-lint: pkg/identity/identity_test.go#L28
dot-imports: should not use dot imports (revive)
golangci-lint: pkg/identity/identity_test.go#L30
dot-imports: should not use dot imports (revive)
golangci-lint: pkg/node/node_test.go#L45
dot-imports: should not use dot imports (revive)
golangci-lint: pkg/node/node_test.go#L47
dot-imports: should not use dot imports (revive)