Golint errors fixes #93
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)
|