refactor(hook): nest API response and use Gorm preload to populate repo and build data #6137
Annotations
10 errors and 1 warning
golangci-lint:
mock/server/authentication.go#L81
string `error` has 4 occurrences, make it a constant (goconst)
|
golangci-lint:
database/pipeline/count.go#L12
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
database/pipeline/delete.go#L16
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
database/pipeline/count_repo.go#L15
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
scm/github/authentication.go#L59
unused-parameter: parameter 'w' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
secret/vault/refresh_test.go#L45
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
secret/vault/refresh_test.go#L71
unused-parameter: parameter 'in' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
secret/vault/refresh_test.go#L108
unused-parameter: parameter 'in' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
secret/vault/refresh_test.go#L128
unused-parameter: parameter 'in' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
secret/vault/refresh_test.go#L201
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
install go
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
Loading