Skip to content

ci(linters): added golangci-lint (#49) #2

ci(linters): added golangci-lint (#49)

ci(linters): added golangci-lint (#49) #2

Triggered via push September 4, 2023 07:27
Status Failure
Total duration 1m 6s
Artifacts

linters.yaml

on: push
golangci-lint
55s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
golangci-lint: api/api.go#L139
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api.go#L159
G402: TLS InsecureSkipVerify set true. (gosec)
golangci-lint: api/api.go#L170
G402: TLS MinVersion too low. (gosec)
golangci-lint: api/api.go#L194
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api.go#L204
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api.go#L214
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api.go#L224
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api.go#L233
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api.go#L250
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api.go#L285
File is not `gofumpt`-ed (gofumpt)
golangci-lint: api/api_logging.go#L37
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: api/api_logging.go#L60
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: api/api_logging.go#L62
unused-parameter: parameter 'lf' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: inttest/pmax_integration_test.go#L338
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: inttest/pmax_replication_integration_test.go#L91
unused-parameter: parameter 'client' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: inttest/pmax_replication_integration_test.go#L437
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: inttest/pmax_replication_integration_test.go#L502
unused-parameter: parameter 'generation' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: inttest/pmax_replication_integration_test.go#L876
unused-parameter: parameter 'volumeName' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: inttest/pmax_replication_integration_test.go#L876
unused-parameter: parameter 'storageGroup' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: inttest/pmax_replication_integration_test.go#L1018
redefines-builtin-id: redefinition of the built-in type error (revive)