Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

initialize the client library #13

initialize the client library

initialize the client library #13

Triggered via push March 12, 2024 06:13
Status Failure
Total duration 3m 22s
Artifacts

push-pr-lint.yml

on: push
Fit to window
Zoom out
Zoom in

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