This repository has been archived by the owner on Jul 18, 2024. It is now read-only.
[FS-1310]Initialize the client library #14
push-pr-lint.yml
on: pull_request
lint-test
3m 19s
build
0s
Annotations
9 errors and 3 warnings
lint-test:
pkg/api/client/client.go#L1
: # github.com/metal-toolbox/component-inventory/pkg/api/client
|
lint-test:
pkg/api/client/client.go#L37
undefined: httpRequestDoer
|
lint-test:
pkg/api/client/client.go#L41
undefined: Option
|
lint-test:
pkg/api/client/client.go#L61
c.get undefined (type compoenentInventoryClient has no field or method get)
|
lint-test:
pkg/api/client/client.go#L75
c.get undefined (type compoenentInventoryClient has no field or method get)
|
lint-test:
pkg/api/client/client.go#L90
c.post undefined (type compoenentInventoryClient has no field or method post)
|
lint-test:
pkg/api/client/client.go#L105
c.post undefined (type compoenentInventoryClient has no field or method post) (typecheck)
|
lint-test:
pkg/api/routes/components.go#L30
rangeValCopy: each iteration copies 240 bytes (consider pointers or indexing) (gocritic)
|
lint-test
issues found
|
lint-test:
pkg/api/routes/inventory.go#L12
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
|
lint-test:
pkg/api/routes/inventory.go#L17
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
|
lint-test
Restore cache failed: Dependencies file is not found in /home/runner/work/component-inventory/component-inventory. Supported file pattern: go.sum
|