Skip to content

chore: Migrate ports command from packngo to metal-go client #692

chore: Migrate ports command from packngo to metal-go client

chore: Migrate ports command from packngo to metal-go client #692

Triggered via pull request October 17, 2023 10:25
Status Failure
Total duration 30s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
lint: test/e2e/ports/convert/convert_test.go#L1
: # github.com/equinix/metal-cli/test/e2e/ports/convert [github.com/equinix/metal-cli/test/e2e/ports/convert.test]
lint: test/e2e/ports/convert/convert_test.go#L85
undefined: helper.DeletePort
lint: test/e2e/ports/convert/convert_test.go#L88
undefined: helper.DeleteVLAN (typecheck)
lint: test/helper/helper.go#L265
S1002: should omit comparison to bool constant, can be simplified to `resp` (gosimple)
lint: test/helper/helper.go#L131
printf: fmt.Errorf call has arguments but no formatting directives (govet)
lint: test/e2e/ports/retrieve/retrieve_test.go#L49
ineffectual assignment to err (ineffassign)
lint: test/e2e/ports/vlans/vlans_test.go#L49
ineffectual assignment to err (ineffassign)
lint: test/helper/helper.go#L123
SA1015: using time.Tick leaks the underlying ticker, consider using it only in endless functions, tests and the main package, and use time.NewTicker here (staticcheck)
lint
issues found
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/metal-cli/metal-cli. Supported file pattern: go.sum